CVE-2026-76216: Double Html Escaping Before Markdown

Pre-escaping text with HTML escape functions before passing it to a markdown converter leads to double-escaping of HTML entities. HTML sanitization should be performed on the generated HTML output rather than escaping input markdown.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-76216-double-html-escaping-before-markdown --engine opengrep

Description

Pre-escaping text with HTML escape functions before passing it to a markdown converter leads to double-escaping of HTML entities. HTML sanitization should be performed on the generated HTML output rather than escaping input markdown.