Package · PyPI
mistune
Every known advisory for the PyPI package mistune, with the affected versions and how widely it is downloaded.
Advisories43
Malicious0
In CISA KEV0
Exposure17,107,826 downloads last week
Newest fixed version among these advisories: a6d43215132fe4f3d93f8d7e90ba83b16a0838b2. Check your version against each range below.
| Advisory | Affected versions | Published |
|---|---|---|
| CVE-2026-97698 GHSA-phmp-hrw4-r36r Mistune: Quadratic-time DoS in parse_link_href via unbounded parenthesis scan on empty-label links | every version to 3.3.4 | 2026-11-19 |
| CVE-2026-97699 GHSA-ww7q-mxrj-5ffg Mistune: Quadratic-time DoS in inline image parsing (precedence_scan) bypasses not-is-image guards | every version to 3.3.4 | 2026-11-19 |
| CVE-2026-115355 GHSA-h7ww-273w-6cm8 Mistune: Path Traversal and XSS in Include directive | every version to 3.3.0 | 2026-10-23 |
| CVE-2026-76098 PYSEC-2026-3863 Mistune: Denial of Service — RecursionError via Excessive Emphasis Markers in Markdown | 3.3.0 to 3.3.3 | 2026-09-10 |
| CVE-2026-76098 GHSA-6m44-fpc8-c3rq Mistune: Denial of Service — RecursionError via Excessive Emphasis Markers in Markdown | 3.3.0 to 3.3.3 | 2026-09-02 |
| CVE-2026-59930 GHSA-2hm2-hc3v-44h9 Mistune toc / TableOfContents directive: heading IDs use predictable `toc_N` numbering with no slugification, allowing collision with attacker-controlled `id="toc_N"` content | every version to 3.3.0 | 2026-07-20 |
| CVE-2026-59925 GHSA-4j32-57v6-6g45 Mistune inline_parser: quadratic-time parsing on long runs of `**x**` and `***x***` emphasis pairs | every version to 3.3.0 | 2026-07-20 |
| CVE-2026-59923 GHSA-8c25-4j27-2rv3 Mistune: XSS via percent-encoded javascript URI bypass in safe_url() | every version to 3.3.0 | 2026-07-20 |
| CVE-2026-59927 GHSA-8mpj-m6qm-5qr8 Mistune directives/include: mutual `.. include::` recursion crashes the renderer with `RecursionError`, denial of service via two attacker-controlled markdown files | every version to 3.3.0 | 2026-07-20 |
| CVE-2026-59922 GHSA-c8j7-8cv4-2xmq Mistune plugins/formatting: quadratic-time parsing on long runs of `~~x~~`, `==x==`, and `^^x^^` markers (strikethrough / mark / insert) | every version to 3.3.0 | 2026-07-20 |
| CVE-2026-59928 GHSA-ffq3-xpv3-j92q Mistune block_parser: quadratic-time parsing on long lists of repeated reference-link definitions | every version to 3.3.0 | 2026-07-20 |
| CVE-2026-59926 GHSA-g97x-gvcm-x72h Mistune: XSS via unescaped class option in Admonition directive | every version to 3.3.0 | 2026-07-20 |
| CVE-2026-59929 GHSA-qfrw-5rxm-mhh2 Mistune renderers/html.safe_url: HARMFUL_PROTOCOLS list misses legacy and chained schemes that historically chain to `javascript:` execution | every version to 3.3.0 | 2026-07-20 |
| CVE-2026-59924 GHSA-r4rv-85jg-w4mf Mistune: Arbitrary File Read via Include directive path traversal | every version to 3.3.0 | 2026-07-20 |
| CVE-2026-33079 PYSEC-2026-2651 Mistune has a ReDoS in LINK_TITLE_RE that allows denial of service via crafted Markdown input | 3.0.0a1 to 3.2.1 | 2026-07-13 |
| CVE-2026-49851 PYSEC-2026-2652 Mistune: Potential DoS via quadratic-time parsing in parse_link_text | every version to 3.3.0 | 2026-07-13 |
| CVE-2026-49851 GHSA-qcq2-496w-v96p Mistune: Potential DoS via quadratic-time parsing in parse_link_text | every version to 3.3.0 | 2026-07-09 |
| CVE-2026-59922 PYSEC-2026-2210 Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, a run of closed tilde, equals-sign, or caret marker pairs around a character causes quadratic work in src/mistune/plugins/formatting.py when the strikethrough, | every version to 3.3.0 | 2026-07-08 |
| CVE-2026-59923 PYSEC-2026-2211 Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, HTMLRenderer.safe_url() does not block percent-encoded javascript URIs, allowing attacker-supplied Markdown links or images to bypass URL protections and execut | every version to 3.3.0 | 2026-07-08 |
| CVE-2026-59924 PYSEC-2026-2212 Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Include.parse() joins and normalizes user-supplied include paths without verifying that the result remains within the intended markdown directory, allowing craf | every version to 3.3.0 | 2026-07-08 |
| CVE-2026-59925 PYSEC-2026-2213 Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, long sequences of well-formed double-asterisk or triple-asterisk emphasis pairs around a character cause quadratic work in src/mistune/inline_parser.py because | every version to 3.3.0 | 2026-07-08 |
| CVE-2026-59926 PYSEC-2026-2214 Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_admonition() in src/mistune/directives/admonition.py concatenates the Admonition directive :class: option into the HTML class attribute without escaping, | every version to 3.3.0 | 2026-07-08 |
| CVE-2026-59927 PYSEC-2026-2215 Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the Include directive in src/mistune/directives/include.py detects only direct self-includes and not indirect cycles, allowing two markdown files that include e | every version to 3.3.0 | 2026-07-08 |
| CVE-2026-59928 PYSEC-2026-2216 Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, a Markdown document containing many repeated or distinct reference-link definitions causes quadratic work in src/mistune/block_parser.py and the ref_links envir | every version to 3.3.0 | 2026-07-08 |
| CVE-2026-59929 PYSEC-2026-2217 Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the safe_url filter in src/mistune/renderers/html.py blocks only javascript:, vbscript:, file:, and data: schemes, allowing legacy or chained schemes such as fe | every version to 3.3.0 | 2026-07-08 |
| CVE-2026-59930 PYSEC-2026-2218 Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the toc plugin and TableOfContents directive generate heading IDs as predictable toc_N values without slugifying the heading text, allowing attacker-controlled | every version to 3.3.0 | 2026-07-08 |
| CVE-2026-44896 PYSEC-2026-168 Mistune is a Python Markdown parser with renderers and plugins. In 3.2.0 and realier, in src/mistune/directives/image.py, the render_figure() function concatenates figclass and figwidth options directly into HTML attributes without escaping | every version to 3.2.1 | 2026-05-26 |
| CVE-2026-44708 PYSEC-2026-2206 Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, the mistune math plugin renders inline math ($...$) and block math ($$...$$) by concatenating the raw user-supplied content directly into the HTML output withou | every version to 3.2.1 | 2026-05-26 |
| CVE-2026-44897 PYSEC-2026-2207 Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, HTMLRenderer.heading() builds the opening <hN> tag by string-concatenating the id attribute value directly into the HTML — with no call to escape(), safe_entity | every version to 3.2.1 | 2026-05-26 |
| CVE-2026-44898 PYSEC-2026-2208 Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_toc_ul() builds a <ul> table-of-contents tree from a list of (level, id, text) tuples. Both the id value (used as href="#<id>") and the text value (used | every version to 3.2.1 | 2026-05-26 |
| CVE-2026-44899 PYSEC-2026-2209 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 | every version to 3.2.1 | 2026-05-26 |
| CVE-2026-44898 GHSA-6269-cqxg-mhhv Mistune TOC Anchor Injection XSS | 3.2.0 to 3.2.1 | 2026-05-14 |
| CVE-2026-44899 GHSA-ccfx-mfmx-2fx9 Mistune Image Directive CSS Injection Vulnerability | 3.2.0 to 3.2.1 | 2026-05-14 |
| CVE-2026-44897 GHSA-v87v-83h2-53w7 Mistune Heading ID Attribute has Injection XSS | every version to 3.2.1 | 2026-05-09 |
| CVE-2026-44896 GHSA-58cw-g322-p94v Mistune has XSS via unescaped figclass/figwidth in Figure directive | every version to 3.2.1 | 2026-05-08 |
| CVE-2026-44708 GHSA-8g87-j6q8-g93x Mistune Math Plugin has an XSS Escape Bypass | every version to ≤ 3.2.0 | 2026-05-08 |
| CVE-2026-33079 GHSA-8mp2-v27r-99xp Mistune has a ReDoS in LINK_TITLE_RE that allows denial of service via crafted Markdown input | 3.0.0a1 to 3.2.1 | 2026-05-06 |
| CVE-2022-34749 GHSA-fw3v-x4f2-v673 Mistune vulnerable to catastrophic backtracking | 2.0.0a1 to 2.0.3 | 2022-07-26 |
| CVE-2022-34749 PYSEC-2022-237 In mistune through 2.0.2, support of inline markup is implemented by using regular expressions that can involve a high amount of backtracking on certain edge cases. This behavior is commonly named catastrophic backtracking. | every version to a6d43215132fe4f3d93f8d7e90ba83b16a0838b2 2.0.0a1 to 2.0.3 | 2022-07-25 |
| CVE-2017-15612 GHSA-hpv5-v8g5-c864 Cross-site Scripting in Mistune | every version to 0.8 | 2022-05-17 |
| CVE-2017-16876 GHSA-98gj-wwxm-cj3h mistune Cross-site scripting (XSS) vulnerability | every version to 0.8.1 | 2019-01-04 |
| CVE-2017-16876 PYSEC-2017-18 Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the "key" argument. | every version to 5f06d724bc05580e7f203db2d4a4905fc1127f98 every version to 0.8.1 | 2017-12-29 |
| CVE-2017-15612 PYSEC-2017-80 mistune.py in Mistune 0.7.4 allows XSS via an unexpected newline (such as in java\nscript:) or a crafted email address, related to the escape and autolink functions. | every version to 0.8 | 2017-10-19 |
Advisories from OSV (GitHub, PyPA, RustSec, Go, OpenSSF malicious packages and more). Scan a whole lockfile on the scan page. Most exposed packages.