GitHub Advisoryadvisory · npm
GHSA-45h5-66jx-r2wf MJML allows mj-include directory traversal due to an incomplete fix for CVE-2020-12827
MEDIUM
Official page ↗
- Aliases
- CVE-2025-67898
- Ecosystem
- npm
- Packages
- mjml
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L
- Weaknesses
- CWE-36
- Reviewed
- 2025-12-17
Affected packages
• npm mjml: < 5.0.0-alpha.9 → fixed in 5.0.0-alpha.9
Description
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.
Related
Alias · CVE (1)
- CVE-2025-67898 MJML through 4.18.0 allows mj-include directory traversal to test file existence and (in the type="css" case) read files. vulnerability
Weakness · CWE (1)
- CWE-36 Absolute Path Traversal weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-12827 advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-67898 advisory
- https://github.com/mjmlio/mjml/issues/3018 web
- https://github.com/mjmlio/mjml/pull/3033 web
- https://github.com/mjmlio/mjml/commit/517b376b068e71c713ec4bb4ef9e5b0b7235b8ce web
- https://github.com/mjmlio/mjml package