Read the docs
TI-2024-17241 Aliases CVE-2024-26151GHSA-578p-fxmm-6229

Potentially untrusted input is rendered as HTML in final output

Priority HIGH 69CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · High · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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 `&lt;script&gt;` would be rendered as `<script>` in the final HTML output. The attacker must be able to control some data which is later injected in an mjml template which is then send out as email to other users. The attacker could control contents of email messages sent through the platform. The problem has been fixed in version 0.11.0 of this library. Versions before 0.10.0 are not affected by this security issue. As a workaround, ensure that potentially untrusted user input does not contain any sequences which could be rendered as HTML.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00621 50th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed mjml (PyPI): 0.11.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
FelixSchwarzmjml-python= 0.10.0—No fix listedCNA
—mjml (PyPI)0.10.0 to before 0.11.00.11.0Patch availableGHSA-578p-fxmm-6229
  • mjml-python VendorFelixSchwarz Affected = 0.10.0 Fixed in — No fix listed CNA
  • mjml (PyPI) Vendor— Affected 0.10.0 to before 0.11.0 Fixed in 0.11.0 Patch available GHSA-578p-fxmm-6229

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:felixschwarz:mjml-python:0.10.0:*:*:*:*:*:*:*0.10.0VulnerableFelixSchwarz
  • cpe:2.3:a:felixschwarz:mjml-python:0.10.0:*:*:*:*:*:*:* Versions 0.10.0 Vulnerable ·FelixSchwarz

Remediation

  • Fix · GHSA-578p-fxmm-6229 mjml (PyPI) Fixed in 0.11.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-26151
  2. 2026-10-03 Alias added: GHSA-578p-fxmm-6229
  3. 2026-11-07 EPSS moved to the 50th–90th percentile

References

Sources