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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | mjml | < 4.6.3 | 4.6.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-12827
- https://github.com/mjmlio/mjml/commit/30e29ed2cdaec8684d60a6d12ea07b611c765a12
- https://github.com/mjmlio/mjml
- https://github.com/mjmlio/mjml/releases/tag/v4.6.3
- http://packetstormsecurity.com/files/158111/MJML-4.6.2-Path-Traversal.html
- http://seclists.org/fulldisclosure/2020/Jun/23
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L- Weakness (CWE)
CWE-22- Platform
- npm
- Package
mjml- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-4hch-r9xf-6vfr - CC BY 4.0
Vulnerability history: mjml
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 05.2022 12.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 0
-
MJML vulnerable to path traversal this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.