THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-97jj-33gv-5xf9 (medium) — league/commonmark: DisallowedRawHtml bypassed when a disallowed tag name ends the raw-HTML literal

[GHSA] GHSA-97jj-33gv-5xf9 (medium) — league/commonmark: DisallowedRawHtml bypassed when a disallowed tag name ends the raw-HTML literal

medgithub_advisoriesPublished 2026-09-30

GHSA-97jj-33gv-5xf9 Severity: medium CVE: None

league/commonmark: DisallowedRawHtml bypassed when a disallowed tag name ends the raw-HTML literal

## Summary

The `DisallowedRawHtml` extension does not escape a disallowed tag when the tag name is the last thing in the raw HTML. A Markdown line containing just `<script` is emitted unchanged, and the next block can supply its attributes. With the

Original source: https://github.com/advisories/GHSA-97jj-33gv-5xf9