Skip to content
Heist/ feed
Unrated

DEBIAN-CVE-2026-44899

Type: advisorySource: OSV1 source record

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, the Image directive plugin validates the :width: and :height: options with a regex compiled as _num_re = re.compile(r"^\d+(?:\.\d*)?"). When the validated value is not a plain integer, render_block_image() inserts it directly into a style="width:...;" or style="height:...;" attribute. Because the value was accepted by the prefix-only regex, any CSS after the leading digits reaches the style= attribute verbatim and without escaping. This vulnerability is fixed in 3.2.1.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-44899

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-44899

mistune

Source reference: /affected/0/package/name

Affected versions
2.0.4-1

Source reference: /affected/0/versions

2.0.4-2

Source reference: /affected/0/versions

3.0.2-1

Source reference: /affected/0/versions

3.0.2-2

Source reference: /affected/0/versions

3.1.3-1

Source reference: /affected/0/versions

3.1.4-1

Source reference: /affected/0/versions

3.3.4-1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

mistune

Source reference: /affected/1/package/name

Affected versions
3.1.3-1

Source reference: /affected/1/versions

3.1.4-1

Source reference: /affected/1/versions

3.3.4-1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

mistune

Source reference: /affected/2/package/name

Affected versions
3.1.3-1

Source reference: /affected/2/versions

3.1.4-1

Source reference: /affected/2/versions

3.3.4-1

Source reference: /affected/2/versions

Fixed versions
Not stated in this record
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"
          }
        ]
      }
    ],
    "package": {
      "name": "mistune",
      "purl": "pkg:deb/debian/mistune?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "2.0.4-1",
      "2.0.4-2",
      "3.0.2-1",
      "3.0.2-2",
      "3.1.3-1",
      "3.1.4-1",
      "3.3.4-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-44899.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "mistune",
      "purl": "pkg:deb/debian/mistune?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "3.1.3-1",
      "3.1.4-1",
      "3.3.4-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-44899.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "mistune",
      "purl": "pkg:deb/debian/mistune?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "3.1.3-1",
      "3.1.4-1",
      "3.3.4-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-44899.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

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