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

- Severity: Medium 4.5 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 24% of CVEs (2026-11-30)
- Published: 2025-12-14T22:01:05.922Z
- Modified: 2026-10-14T13:10:00.187Z
- Also known as: GHSA-45h5-66jx-r2wf
- Weaknesses: CWE-36
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- MJML MJML: up to 4.18.0
- mjml (npm): before 5.0.0-alpha.9

## Every score

- mitre: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L`
- GitHub: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L`

## References

- <https://github.com/mjmlio/mjml/issues/3018> (web)
- <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/pull/3033> (web)
- <https://github.com/mjmlio/mjml/commit/517b376b068e71c713ec4bb4ef9e5b0b7235b8ce> (web)
- <https://github.com/mjmlio/mjml> (package)

## Sources

- CVE List: [CVE-2025-67898](https://www.cve.org/CVERecord?id=CVE-2025-67898), CVE Terms of Use, modified 2025-12-15
- GitHub Advisory Database: [GHSA-45h5-66jx-r2wf](https://github.com/advisories/GHSA-45h5-66jx-r2wf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-67898](https://nvd.nist.gov/vuln/detail/CVE-2025-67898), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-67898 · Whole record: https://cve.day/CVE-2025-67898.json · Rebuilt by cve.day 2026-11-25T22:59:09.389Z
