CVE-2024-26151

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-26151
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26151.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26151
Aliases
Related
Published
2024-02-22T19:15:09Z
Modified
2025-01-08T15:54:12.016306Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/felixschwarz/mjml-python

Affected ranges

Type
GIT
Repo
https://github.com/felixschwarz/mjml-python
Events

Affected versions

v0.*

v0.5
v0.5.3
v0.5.4
v0.6.0
v0.6.1
v0.6.2
v0.7.0
v0.8.0
v0.9.0
v0.9.1