CVE-2026-44899 Mistune Image Directive CSS Injection Vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
38 packages: 4 fixed, 33 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/mistune(Debian 12) | = 2.0.4-1; = 2.0.4-2; = 3.0.2-1; = 3.0.2-2 +5 more | No fix listed | No fix yet |
| debian/mistune(Debian 13) | = 3.1.3-1; = 3.1.4-1; = 3.3.4-1; = 3.4.0-1 +1 more | No fix listed | No fix yet |
| redhat/mta/mta-solution-server-rhel9(Red Hat migration_toolkit_applications 8) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-th06-cpu-torch210-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-th06-cpu-torch291-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-th06-cuda130-torch210-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-th06-cuda130-torch291-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-th06-rocm64-torch291-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| ubuntu/mistune(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/mistune(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/mistune(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/mistune(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/mistune0(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
… and 8 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi mistune(PyPI) | >= 3.2.0, < 3.2.1 | 3.2.1 |
| pypi mistune(PyPI) | = 3.2.0 | No fix listed |
| pypi mistune(PyPI) | < 3.2.1 | 3.2.1 |
| pypi mistune(PyPI) | = 0.1.0 | No fix listed |
| pypi mistune(PyPI) | = 0.2.0 | No fix listed |
| pypi mistune(PyPI) | = 0.3.0 | No fix listed |
| pypi mistune(PyPI) | = 0.3.1 | No fix listed |
| pypi mistune(PyPI) | = 0.4 | No fix listed |
| pypi mistune(PyPI) | = 0.4.1 | No fix listed |
| pypi mistune(PyPI) | = 0.5 | No fix listed |
| pypi mistune(PyPI) | = 0.5.1 | No fix listed |
| pypi mistune(PyPI) | = 0.6 | No fix listed |
| pypi mistune(PyPI) | = 0.7 | No fix listed |
| pypi mistune(PyPI) | = 0.7.1 | No fix listed |
| pypi mistune(PyPI) | = 0.7.2 | No fix listed |
| pypi mistune(PyPI) | = 0.7.3 | No fix listed |
| pypi mistune(PyPI) | = 0.7.4 | No fix listed |
| pypi mistune(PyPI) | = 0.8 | No fix listed |
| pypi mistune(PyPI) | = 0.8.1 | No fix listed |
| pypi mistune(PyPI) | = 0.8.2 | No fix listed |
| pypi mistune(PyPI) | = 0.8.3 | No fix listed |
| pypi mistune(PyPI) | = 0.8.4 | No fix listed |
| pypi mistune(PyPI) | = 2.0.0 | No fix listed |
| pypi mistune(PyPI) | = 2.0.0a1 | No fix listed |
| pypi mistune(PyPI) | = 2.0.0a2 | No fix listed |
Show 78 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi mistune(PyPI) | = 2.0.0a3 | No fix listed |
| pypi mistune(PyPI) | = 2.0.0a4 | No fix listed |
| pypi mistune(PyPI) | = 2.0.0a5 | No fix listed |
| pypi mistune(PyPI) | = 2.0.0a6 | No fix listed |
| pypi mistune(PyPI) | = 2.0.0rc1 | No fix listed |
| pypi mistune(PyPI) | = 2.0.1 | No fix listed |
| pypi mistune(PyPI) | = 2.0.2 | No fix listed |
| pypi mistune(PyPI) | = 2.0.3 | No fix listed |
| pypi mistune(PyPI) | = 2.0.4 | No fix listed |
| pypi mistune(PyPI) | = 2.0.5 | No fix listed |
| pypi mistune(PyPI) | = 2.1.0 | No fix listed |
| pypi mistune(PyPI) | = 3.0.0 | No fix listed |
| pypi mistune(PyPI) | = 3.0.0a1 | No fix listed |
| pypi mistune(PyPI) | = 3.0.0a2 | No fix listed |
| pypi mistune(PyPI) | = 3.0.0a3 | No fix listed |
| pypi mistune(PyPI) | = 3.0.0rc1 | No fix listed |
| pypi mistune(PyPI) | = 3.0.0rc2 | No fix listed |
| pypi mistune(PyPI) | = 3.0.0rc3 | No fix listed |
| pypi mistune(PyPI) | = 3.0.0rc4 | No fix listed |
| pypi mistune(PyPI) | = 3.0.0rc5 | No fix listed |
| pypi mistune(PyPI) | = 3.0.1 | No fix listed |
| pypi mistune(PyPI) | = 3.0.2 | No fix listed |
| pypi mistune(PyPI) | = 3.1.0 | No fix listed |
| pypi mistune(PyPI) | = 3.1.1 | No fix listed |
| pypi mistune(PyPI) | = 3.1.2 | No fix listed |
| pypi mistune(PyPI) | = 3.1.3 | No fix listed |
| pypi mistune(PyPI) | = 3.1.4 | No fix listed |
| lepture mistune | = < 3.2.1 | No fix listed |
| redhat/mta/mta-solution-server-rhel9(Red Hat:migration_toolkit_applications:8) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-cpu-torch210-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-cpu-torch291-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-cuda130-torch210-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-cuda130-torch291-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-th06-rocm64-torch291-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| ubuntu/mistune(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/mistune0(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/mistune(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/mistune0(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/mistune(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/mistune0(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/mistune(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/mistune0(Ubuntu:26.10) | All versions | No fix listed |
| mistune project mistune | < 3.2.1 | 3.2.1 |
| azure linux python-mistune(Azure Linux:3.0) | < 3.2.1-1 | 3.2.1-1 |
| debian/mistune(Debian:12) | All versions | No fix listed |
| debian/mistune(Debian:14) | < 3.3.4-1 | 3.3.4-1 |
| debian/mistune(Debian:13) | All versions | No fix listed |
| debian/mistune(Debian:12) | = 2.0.4-1 | No fix listed |
| debian/mistune(Debian:12) | = 2.0.4-2 | No fix listed |
| debian/mistune(Debian:12) | = 3.0.2-1 | No fix listed |
| debian/mistune(Debian:12) | = 3.0.2-2 | No fix listed |
| debian/mistune(Debian:12) | = 3.1.3-1 | No fix listed |
| debian/mistune(Debian:12) | = 3.1.4-1 | No fix listed |
| debian/mistune(Debian:12) | = 3.3.4-1 | No fix listed |
| debian/mistune(Debian:12) | = 3.4.0-1 | No fix listed |
| debian/mistune(Debian:13) | = 3.1.3-1 | No fix listed |
| debian/mistune(Debian:13) | = 3.1.4-1 | No fix listed |
| debian/mistune(Debian:13) | = 3.3.4-1 | No fix listed |
| debian/mistune(Debian:13) | = 3.4.0-1 | No fix listed |
| debian/mistune(Debian:14) | = 3.1.3-1 | No fix listed |
| debian/mistune(Debian:14) | = 3.1.4-1 | No fix listed |
References
- https://github.com/lepture/mistune/security/advisories/GHSA-ccfx-mfmx-2fx9 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/lepture/mistune/releases/tag/v3.2.1 product release-notes vendor-advisory
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2481721 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-44899 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking