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.
History

Wed, 05 Feb 2025 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Felixschwarz
Felixschwarz mjml-python
Weaknesses CWE-79
CPEs cpe:2.3:a:felixschwarz:mjml-python:0.10.0:*:*:*:*:*:*:*
Vendors & Products Felixschwarz
Felixschwarz mjml-python

Thu, 22 Aug 2024 18:30:00 +0000


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-22T18:00:29.440Z

Reserved: 2024-02-14T17:40:03.690Z

Link: CVE-2024-26151

cve-icon Vulnrichment

Updated: 2024-08-19T07:48:02.137Z

cve-icon NVD

Status : Analyzed

Published: 2024-02-22T19:15:09.300

Modified: 2025-02-05T21:52:15.070

Link: CVE-2024-26151

cve-icon Redhat

No data.