# CVE-2026-44708: Mistune Math Plugin XSS Escape Bypass

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-08T23:40:04.000Z
- Modified: 2026-09-10T03:51:04.993Z
- Also known as: GHSA-8g87-j6q8-g93x, PYSEC-2026-2206
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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 without any HTML escaping. This occurs even when the parser is explicitly created with escape=True, which is supposed to guarantee that all user-controlled text is sanitised before reaching the DOM. This vulnerability is fixed in 3.2.1.

(As written by CVE List.)

## Affected

- lepture mistune: < 3.2.1
- mistune (PyPI): up to 3.2.0; before 3.2.1
- mistune_project mistune: before 3.2.1

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/lepture/mistune/security/advisories/GHSA-8g87-j6q8-g93x> (exploit, evidence, vendor-advisory, web)
- <https://github.com/lepture/mistune/releases/tag/v3.2.1> (advisory, product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44708> (advisory)
- <https://github.com/lepture/mistune> (package)

## Sources

- CVE List: [CVE-2026-44708](https://www.cve.org/CVERecord?id=CVE-2026-44708), CVE Terms of Use, modified 2026-05-27
- GitHub Advisory Database: [GHSA-8g87-j6q8-g93x](https://github.com/advisories/GHSA-8g87-j6q8-g93x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-44708](https://nvd.nist.gov/vuln/detail/CVE-2026-44708), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-2206](https://osv.dev/vulnerability/PYSEC-2026-2206), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-44708 · Whole record: https://cve.day/CVE-2026-44708.json · Rebuilt by cve.day 2026-11-25T22:59:22.380Z
