CVE-2026-33677: Goldmark Double Escape

Inappropriate application of `HTMLEscapeString` on string inputs prior to Markdown conversion. This causes valid HTML sequences to be redundantly double-escaped because the `goldmark` converter natively handles rendering. Pass the string directly to the Markdown converter without prior escaping.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-33677-goldmark-double-escape --engine opengrep

Description

Inappropriate application of `HTMLEscapeString` on string inputs prior to Markdown conversion. This causes valid HTML sequences to be redundantly double-escaped because the `goldmark` converter natively handles rendering. Pass the string directly to the Markdown converter without prior escaping.