Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-30838

Type: advisorySource: OSV1 source record

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, 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.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-30838

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-30838

php-league-commonmark

Source reference: /affected/0/package/name

Affected versions
2.3.9-1

Source reference: /affected/0/versions

Fixed versions
2.3.9-1+deb12u1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

php-league-commonmark

Source reference: /affected/1/package/name

Affected versions
2.7.0-1

Source reference: /affected/1/versions

Fixed versions
2.7.0-1+deb13u1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

php-league-commonmark

Source reference: /affected/2/package/name

Affected versions
2.7.0-1

Source reference: /affected/2/versions

2.7.1-1

Source reference: /affected/2/versions

2.7.1-2

Source reference: /affected/2/versions

2.8.0-1

Source reference: /affected/2/versions

Fixed versions
2.8.1-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.3.9-1+deb12u1"
          }
        ]
      }
    ],
    "package": {
      "name": "php-league-commonmark",
      "purl": "pkg:deb/debian/php-league-commonmark?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "2.3.9-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-30838.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.7.0-1+deb13u1"
          }
        ]
      }
    ],
    "package": {
      "name": "php-league-commonmark",
      "purl": "pkg:deb/debian/php-league-commonmark?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "2.7.0-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-30838.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.8.1-1"
          }
        ]
      }
    ],
    "package": {
      "name": "php-league-commonmark",
      "purl": "pkg:deb/debian/php-league-commonmark?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "2.7.0-1",
      "2.7.1-1",
      "2.7.1-2",
      "2.8.0-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-30838.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56333 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement