Open-source package vulnerability · npm
CVE-2025-67898: MJML allows mj-include directory traversal due to an incomplete fix for CVE-2020-12827
mediumCVSS 3.1 4.5GHSA-45h5-66jx-r2wf
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.
Published Dec 15, 2025 · Updated Jun 26, 2026
Affected packages
mjml
- Ecosystem
- npm
- Affected
- < 5.0.0-alpha.9
- Fixed in
- 5.0.0-alpha.9
- Check
npm ls mjml
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to LambArchie.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-67898
- https://github.com/mjmlio/mjml/issues/3018
- https://nvd.nist.gov/vuln/detail/CVE-2020-12827
- https://github.com/mjmlio/mjml/pull/3033
- https://github.com/mjmlio/mjml/commit/517b376b068e71c713ec4bb4ef9e5b0b7235b8ce
- https://github.com/advisories/GHSA-45h5-66jx-r2wf
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
