Nixpkgs Security Tracker

Login with GitHub

Details of issue NIXPKGS-2026-0576

NIXPKGS-2026-0576
published on 8 Mar 2026
updated 1 week ago by @mweinelt Activity log
  • Created automatic suggestion
  • @mweinelt removed
    33 packages
    • rubyPackages_4_0.jekyll-commonmark-ghpages
    • rubyPackages_3_4.jekyll-commonmark-ghpages
    • rubyPackages_3_3.jekyll-commonmark-ghpages
    • guile-commonmark
    • rubyPackages.commonmarker
    • haskellPackages.commonmark
    • python312Packages.commonmark
    • python313Packages.commonmark
    • python314Packages.commonmark
    • rubyPackages_3_1.commonmarker
    • rubyPackages_3_2.commonmarker
    • rubyPackages_3_3.commonmarker
    • rubyPackages_3_4.commonmarker
    • rubyPackages_4_0.commonmarker
    • haskellPackages.commonmark-cli
    • python312Packages.recommonmark
    • python313Packages.recommonmark
    • python314Packages.recommonmark
    • rubyPackages.jekyll-commonmark
    • tests.nixosOptionsDoc.commonMark
    • haskellPackages.commonmark-pandoc
    • haskellPackages.commonmark-simple
    • haskellPackages.commonmark-initial
    • rubyPackages_3_1.jekyll-commonmark
    • rubyPackages_3_2.jekyll-commonmark
    • rubyPackages_3_3.jekyll-commonmark
    • rubyPackages_3_4.jekyll-commonmark
    • rubyPackages_4_0.jekyll-commonmark
    • haskellPackages.commonmark-wikilink
    • haskellPackages.commonmark-extensions
    • rubyPackages.jekyll-commonmark-ghpages
    • rubyPackages_3_1.jekyll-commonmark-ghpages
    • rubyPackages_3_2.jekyll-commonmark-ghpages
  • @mweinelt accepted
  • @mweinelt published on GitHub
league/commonmark: DisallowedRawHtml extension bypass via whitespace in HTML tag names

league/commonmark is a PHP Markdown parser. Prior to version 2.8.1, the DisallowedRawHtml extension can be bypassed by inserting a newline, tab, or other ASCII whitespace character between a disallowed HTML tag name and the closing >. For example, <script\n> would pass through unfiltered and be rendered as a valid HTML tag by browsers. This is a cross-site scripting (XSS) vector for any application that relies on this extension to sanitize untrusted user input. All applications using the DisallowedRawHtml extension to process untrusted markdown are affected. Applications that use a dedicated HTML sanitizer (such as HTML Purifier) on the rendered output are not affected. This issue has been patched in version 2.8.1.

Affected products

commonmark
  • ==< 2.8.1
Ignored packages (33)
Affects flarum per composer.lock file
@jasondoom @fsagbuya