MJML allows mj-include directory traversal due to an incomplete fix for CVE-2020-12827
- Severity:
- Medium
Description
MJML through 4.18.0 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.
Recommendation
No fix is available yet. Followings are affected versions:
- <= 4.18.0
References
Related Issues
- MJML vulnerable to path traversal - CVE-2020-12827
- Mammoth is vulnerable to Directory Traversal - CVE-2025-11849
- simplehttpserver allows directory traversal and file listing - CVE-2018-3787
- Axios: Incomplete Fix for CVE-2025-62718 — NO_PROXY Protection Bypassed via RFC 1122 Loopback Subnet (127.0.0.0/8) in Ax - CVE-2026-42043
You might also like:
- Tags:
- npm
- mjml
Anything's wrong? Let us know Last updated on December 17, 2025


