Script Injection Affecting mjml package, versions [,0.11.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.62% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-MJML-6274525
  • published25 Feb 2024
  • disclosed22 Feb 2024
  • creditsh-at-cs

Introduced: 22 Feb 2024

CVE-2024-26151  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade mjml to version 0.11.0 or higher.

Overview

mjml is a Python implementation for MJML - a framework that makes responsive-email easy

Affected versions of this package are vulnerable to Script Injection in escaped script tags, which are rendered as HTML in the final output. An attacker can control the contents of email messages sent through the platform by injecting malicious data into an mjml template, which is then sent out as an email to other users.

CVSS Base Scores

version 3.1