Live threats

All CVEs / Mjml

CVE-2020-12827Mjml

High 7.2 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mjml.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
mjmlmjml< 4.6.3

Official sources

References

Links published by the sources. Open them with care.