SCA: security update for mjml (GHSA-578p-fxmm-6229)

medium Tenable Cloud Security Plugin ID 410647

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2024-26151)

Solution

Update the mjml library and its related packages to version 0.11.0 or later.

See Also

https://github.com/advisories/GHSA-578p-fxmm-6229

Plugin Details

Severity: Medium

ID: 410647

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.14

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

CVSS Score Source: CVE-2024-26151

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/22/2024

Vulnerability Publication Date: 2/22/2024

Reference Information

CVE: CVE-2024-26151