# CVE-2020-12827: MJML vulnerable to path traversal

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/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): 2.72%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-06-17T13:28:04.000Z
- Modified: 2026-06-17T02:52:23.167Z
- Also known as: GHSA-4hch-r9xf-6vfr
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mjml (npm): before 4.6.3
- mjml mjml: before 4.6.3

## Every score

- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:P`

## References

- <http://seclists.org/fulldisclosure/2020/Jun/23> (exploit, mailing-list, third-party-advisory, web)
- <http://packetstormsecurity.com/files/158111/MJML-4.6.2-Path-Traversal.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://github.com/mjmlio/mjml/commit/30e29ed2cdaec8684d60a6d12ea07b611c765a12> (patch, third-party-advisory, web)
- <https://github.com/mjmlio/mjml/releases/tag/v4.6.3> (release-notes, third-party-advisory, web)
- <https://twitter.com/mjmlio> (third-party-advisory)
- <https://mjml.io/community> (vendor-advisory)
- <https://rcesecurity.com> (broken-link)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-12827> (advisory)
- <https://github.com/mjmlio/mjml> (package)

## Sources

- CVE List: [CVE-2020-12827](https://www.cve.org/CVERecord?id=CVE-2020-12827), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-4hch-r9xf-6vfr](https://github.com/advisories/GHSA-4hch-r9xf-6vfr), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-12827](https://nvd.nist.gov/vuln/detail/CVE-2020-12827), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-12827 · Whole record: https://cve.day/CVE-2020-12827.json · Rebuilt by cve.day 2026-11-25T22:57:52.998Z
