Zurück zur Liste

league/commonmark: DisallowedRawHtml bypassed when a disallowed tag name ends the raw-HTML literal — GHSA-97JJ-33GV-5XF9

GitHub · GitHub · GHSA-97JJ-33GV-5XF9

ID
GHSA-97JJ-33GV-5XF9
Datum
Quelle
GitHub
Vendor
GitHub
Risiko
mittel
CVSS
6.1

Zusammenfassung

## 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 shipped GFM defaults this allows stored XSS by anyone who can post Markdown. ## Details `DisallowedRawHtmlRenderer` escapes tags with this regex: ```…

Zeitlicher Verlauf

Von der Quelle veröffentlicht
2026-09-30

Risikokontext

  • Gemeldeter Schweregrad oder Risikowert: mittel.
  • Gemeldeter CVSS-Wert: 6.1 von 10.
  • Prüfe die Exponierung für das betroffene Produkt oder die Produktfamilie: composer: league/commonmark.

Produkt

composer: league/commonmark

Was tun?

Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):

  • Prüfe Exponierung und plane Maßnahmen nach Risiko und Umfeld.
  • Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
  • Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
  • Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.

Offizielles Advisory

Nachweise und Herkunft

Kanonische Advisory-ID
GHSA-97JJ-33GV-5XF9
Quelle
GitHub
Vendor
GitHub
Von der Quelle veröffentlicht
2026-09-30
Letzte Quellenaktivität
2026-09-30
Kuratiert von
hlukh.ch

Verwandte Hinweise und Zusammenhänge

Diese Hinweise sind anhand gemeinsamer CVE-, Produkt-, Hersteller-, Quellen- oder Zeitsignale verknüpft.