CVE-2026-76837: Markdown It Regexp Unescaped Property Xss

Unescaped property interpolation in a markdown-it-regexp replacement string can lead to stored Cross-Site Scripting (XSS). HTML-escape or sanitize dynamic properties before inserting them into HTML markup rendered by markdown-it.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0JS
greprules fetch cve-2026-76837-markdown-it-regexp-unescaped-property-xss --engine opengrep

Description

Unescaped property interpolation in a markdown-it-regexp replacement string can lead to stored Cross-Site Scripting (XSS). HTML-escape or sanitize dynamic properties before inserting them into HTML markup rendered by markdown-it.