Every CVE Search/ Get API key

CVE-2020-12827

MJML vulnerable to path traversal

7.2 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
Low

Exploit likelihood

2.66%Up 1.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.2

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

Record
CVE-2020-12827
CVSS 3.1
7.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L
CVSS 2.0
6.4 MediumAV:N/AC:L/Au:N/C:P/I:N/A:P
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

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

Record
CVE-2020-12827
Updated
2026-11-02
EUVDEUVD-2022-2384 No score

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

Record
EUVD-2022-2384
Updated
2026-11-03
GitHub AdvisoriesGHSA-4hch-r9xf-6vfr 7.2

MJML vulnerable to path traversal

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

Record
GHSA-4hch-r9xf-6vfr
CVSS 3.1
7.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L
Weakness
CWE-22
Updated
2026-11-02
OSV 7.2

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

Record
CVE-2020-12827
CVSS 3.1
7.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L
Updated
2026-11-02
OSVGHSA-4hch-r9xf-6vfr 7.2

MJML vulnerable to path traversal

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

Record
GHSA-4hch-r9xf-6vfr
CVSS 3.1
7.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L
Weakness
CWE-22
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mjml
npm
before 4.6.3
4.6.3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-12827 is a high vulnerability (CVSS 7.2) in Mjml, published June 17, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.66%, the 85th percentile. Fixed in mjml 4.6.3.

References

Show 4 moreShow less
MoveEnter Open