ADVISORIES

GitHub Advisory Database

GHSA-45h5-66jx-r2wf

MJML allows mj-include directory traversal due to an incomplete fix for CVE-2020-12827

Moderate CVE-2025-67898

Details

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.

Affected packages

EcosystemPackageAffected versions
npmmjml
All versions before 5.0.0-alpha.9 (fixed in 5.0.0-alpha.9)

References