Skip to content
Fencer Vulns
high 7.2

CVE-2020-12827 json

MJML vulnerable to path traversal

published 2020-06-17 6 y ago modified 2026-06-17 4 mo ago also GHSA-4hch-r9xf-6vfr , EUVD-2022-2384

cvss
7.2
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.7%
EPSS 2.7% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

Summary

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

Patch / fix

  • npm mjml 4.6.3
  • mjml mjml 4.6.3

Exploit prediction

2.66% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • seclists.org http://seclists.org/fulldisclosure/2020/Jun/23 referenced PoC, tagged "exploit" by a source, unverified
  • packetstormsecurity.com http://packetstormsecurity.com/files/158111/MJML-4.6.2-Path-Traversal.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:P/I:N/A:P
GitHub 3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L

Affected packages

ecosystem package affected fixed in
npm mjml
<4.6.3
4.6.3

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.