CVE-2020-12827Mjml
High 7.2 No auth needed
Follow: this CVE · Mjml · Mjml We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 7.2
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Jun 17, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L
What happens
MJML prior to 4.6.3 contains a path traversal vulnerability when processing the mj-include directive within an MJML document.
What to do
- Apply the vendor's security update for Mjml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | mjml |
< 4.6.3 |
4.6.3 |
npm install mjml@4.6.3 |
Per OSV / GitHub Advisories (GHSA-4hch-r9xf-6vfr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mjml | mjml | < 4.6.3 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- seclists.org Exploit Mailing List Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- mjml.io Vendor Advisory
- rcesecurity.com Broken Link
- twitter.com Third Party Advisory