Advisory

GHSA-45h5-66jx-r2wf

Also known as: CVE-2025-67898

Summary

MJML allows mj-include directory traversal due to an incomplete fix for CVE-2020-12827

Details

MJML before 5.0.0-alpha.9 allows mj-include directory traversal to test file existence and (in the type="css" case) read files. NOTE: this issue exists because of an incomplete fix for CVE-2020-12827.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-12-15 00:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

mjml

npm · All systems

Affected

  • introduced 0, fixed 5.0.0-alpha.9 (semver)

Fixed versions

5.0.0-alpha.9

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences