CVE-2024-26151: The `mjml` PyPI package, found at the `FelixSchwarz/mjml-python` GitHub repo, is an unofficial Python port of
CVE-2024-26151 is a high-severity flaw (CVSS 8.2) affecting mjml-python. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The `mjml` PyPI package, found at the `FelixSchwarz/mjml-python` GitHub repo, is an unofficial Python port of MJML, a markup language created by Mailjet. All users of `FelixSchwarz/mjml-python` who insert untrusted data into mjml templates unless that data is checked in a very strict manner. User input like `<script>` would be rendered as `<script>` in the final HTML output. The attacker must be able to control some data which is later inje
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-26151?
mjml-python: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-26151 being exploited?
CVE-2024-26151 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-26151 affect?
CVE-2024-26151 affects mjml-python. Severity is high (CVSS 8.2). The `mjml` PyPI package, found at the `FelixSchwarz/mjml-python` GitHub repo, is an unofficial Python port of MJML, a markup language created by Mailjet. All users of `FelixSchwarz/mjml-python` who insert untrusted data into mjml templates
How urgent is CVE-2024-26151?
Priority 46/100. High severity; Public exploit reference
Software pages
Python vulnerabilities · GitHub vulnerabilities · PyPI packages vulnerabilities