CVE-2024-26151
Last modified
CVE-2024-26151 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.62% chance of exploitation in the next 30 days.
Description
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 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Felixschwarz | Mjml-Python | 0.10.0 |
References
- https://github.com/FelixSchwarz/mjml-python/issues/52Exploit, Issue Tracking
- https://github.com/FelixSchwarz/mjml-python/issues/52Exploit, Issue Tracking
- https://www.vicarius.io/vsociety/posts/cve-2024-26151-mjml-python-vulnerability-1Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-26151?
How severe is CVE-2024-26151?
How do I fix CVE-2024-26151?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-26146Rack is a modular Ruby web server interface. Carefully craft…7.5
- CVE-2024-26147Helm is a package manager for Charts for Kubernetes. Version…7.5
- CVE-2024-26148Querybook is a user interface for querying big data. Prior t…6.1
- CVE-2024-26149Vyper is a pythonic Smart Contract Language for the ethereum…5.3
- CVE-2024-2615Memory safety bugs present in Firefox 123. Some of these bug…9.8
- CVE-2024-26150`@backstage/backend-common` is a common functionality librar…7.5
- CVE-2024-26152### Summary On all Label Studio versions prior to 1.11.0, da…6.1
- CVE-2024-26153All versions of ETIC Telecom Remote Access Server (RAS) prio…7.4
- CVE-2024-26154All versions of ETIC Telecom Remote Access Server (RAS) prio…6.1
- CVE-2024-26155All versions of ETIC Telecom Remote Access Server (RAS) prio…8.6
- CVE-2024-26156All versions of ETIC Telecom Remote Access Server (RAS) prio…6.1
- CVE-2024-26157All versions of ETIC Telecom Remote Access Server (RAS) prio…6.1
Are you affected by CVE-2024-26151?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
