GitHub Advisory Database
GHSA-4hch-r9xf-6vfr
MJML vulnerable to path traversal
Details
MJML prior to 4.6.3 contains a path traversal vulnerability when processing the mj-include directive within an MJML document.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | mjml | All versions before 4.6.3 (fixed in 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