GitHub Advisoryadvisory · npm

GHSA-45h5-66jx-r2wf MJML allows mj-include directory traversal due to an incomplete fix for CVE-2020-12827

MEDIUM Published 2025-12-15 Modified 2026-06-26 Official page ↗
Aliases
CVE-2025-67898
Ecosystem
npm
Packages
mjml
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L
Weaknesses
CWE-36
Reviewed
2025-12-17

Affected packages

• npm mjml: < 5.0.0-alpha.9 → fixed in 5.0.0-alpha.9

Description

MJML before 5.0.0-alpha.9 allows mj-include directory traversal to test file existence and (in the type="css" case) read files. NOTE: this issue exists because of an incomplete fix for CVE-2020-12827.

Related

Alias · CVE (1)

  • CVE-2025-67898 MJML through 4.18.0 allows mj-include directory traversal to test file existence and (in the type="css" case) read files. vulnerability

Weakness · CWE (1)

  • CWE-36 Absolute Path Traversal weakness

References