CISA list

● PyPI package

mistune

Mistune has 23 security advisories. The newest release any of them names as the fix is 3.3.4.

As of , mistune has 23 security advisories. The newest release any of them names as the fix is 3.3.4.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 3.3.43.3.423 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-97698GHSA-phmp-hrw4-r36rMistune: Quadratic-time DoS in parse_link_href via unbounded parenthesis scan on empty-label linksHigh severityBefore 3.3.43.3.4
CVE-2026-97699GHSA-ww7q-mxrj-5ffgMistune: Quadratic-time DoS in inline image parsing (precedence_scan) bypasses not-is-image guardsHigh severityBefore 3.3.43.3.4
CVE-2026-115355GHSA-h7ww-273w-6cm8Mistune: Path Traversal and XSS in Include directiveHigh severityBefore 3.3.03.3.0
CVE-2026-76098GHSA-6m44-fpc8-c3rq, PYSEC-2026-3863Mistune: Denial of Service, RecursionError via Excessive Emphasis Markers in MarkdownHigh severityFrom 3.3.0 before 3.3.33.3.3
CVE-2026-49851GHSA-qcq2-496w-v96p, PYSEC-2026-2652Mistune: Potential DoS via quadratic-time parsing in parse_link_textHigh severityBefore 3.3.03.3.0
CVE-2026-59930GHSA-2hm2-hc3v-44h9, PYSEC-2026-2218Mistune toc / TableOfContents directive: heading IDs use predictable `toc_N` numbering with no slugification, allowing collision with attacker-controlled `id="toc_N"` contentModerate severityBefore 3.3.03.3.0
CVE-2026-59929GHSA-qfrw-5rxm-mhh2, PYSEC-2026-2217Mistune renderers/html.safe_url: HARMFUL_PROTOCOLS list misses legacy and chained schemes that historically chain to `javascript` executionModerate severityBefore 3.3.03.3.0
CVE-2026-59928GHSA-ffq3-xpv3-j92q, PYSEC-2026-2216Mistune block_parser: quadratic-time parsing on long lists of repeated reference-link definitionsHigh severityBefore 3.3.03.3.0
CVE-2026-59927GHSA-8mpj-m6qm-5qr8, PYSEC-2026-2215Mistune directives/include: mutual `.. include::` recursion crashes the renderer with `RecursionError`, denial of service via two attacker-controlled markdown filesModerate severityBefore 3.3.03.3.0
CVE-2026-59926GHSA-g97x-gvcm-x72h, PYSEC-2026-2214Mistune: XSS via unescaped class option in Admonition directiveModerate severityBefore 3.3.03.3.0
CVE-2026-59925GHSA-4j32-57v6-6g45, PYSEC-2026-2213Mistune inline_parser: quadratic-time parsing on long runs of `**x**` and `***x***` emphasis pairsHigh severityBefore 3.3.03.3.0
CVE-2026-59924GHSA-r4rv-85jg-w4mf, PYSEC-2026-2212Mistune: Arbitrary File Read via Include directive path traversalModerate severityBefore 3.3.03.3.0
CVE-2026-59923GHSA-8c25-4j27-2rv3, PYSEC-2026-2211Mistune: XSS via percent-encoded javascript URI bypass in safe_url()Moderate severityBefore 3.3.03.3.0
CVE-2026-59922GHSA-c8j7-8cv4-2xmq, PYSEC-2026-2210Mistune plugins/formatting: quadratic-time parsing on long runs of `~~x~~`, `==x==`, and `^^x^^` markers (strikethrough / mark / insert)High severityBefore 3.3.03.3.0
CVE-2026-44899GHSA-ccfx-mfmx-2fx9, PYSEC-2026-2209Mistune Image Directive CSS Injection VulnerabilityModerate severityBefore 3.2.13.2.1
CVE-2026-44898GHSA-6269-cqxg-mhhv, PYSEC-2026-2208Mistune TOC Anchor Injection XSSModerate severityBefore 3.2.13.2.1
CVE-2026-44897GHSA-v87v-83h2-53w7, PYSEC-2026-2207Mistune Heading ID Attribute has Injection XSSModerate severityBefore 3.2.13.2.1
CVE-2026-44896GHSA-58cw-g322-p94v, PYSEC-2026-168Mistune has XSS via unescaped figclass/figwidth in Figure directiveModerate severityBefore 3.2.13.2.1
CVE-2026-44708GHSA-8g87-j6q8-g93x, PYSEC-2026-2206Mistune Math Plugin has an XSS Escape BypassModerate severityBefore 3.2.13.2.1
CVE-2026-33079GHSA-8mp2-v27r-99xp, PYSEC-2026-2651Mistune has a ReDoS in LINK_TITLE_RE that allows denial of service via crafted Markdown inputHigh severityFrom 3.0.0a1 before 3.2.13.2.1
CVE-2022-34749GHSA-fw3v-x4f2-v673, PYSEC-2022-237Mistune vulnerable to catastrophic backtrackingHigh severityFrom 2.0.0a1 before 2.0.32.0.3
CVE-2017-16876GHSA-98gj-wwxm-cj3h, PYSEC-2017-18mistune Cross-site scripting (XSS) vulnerabilityModerate severityBefore 0.8.10.8.1
CVE-2017-15612GHSA-hpv5-v8g5-c864, PYSEC-2017-80Cross-site Scripting in MistuneModerate severityBefore 0.80.8

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0