Path Traversal in Mjml

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. NOTE: this issue exists because of an incomplete fix for CVE-2020-12827.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.5 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L.

EPSS exploit prediction

EPSS 0.004, 31.2th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

  • justmumu/CVE-2025-67898 (last pushed 2026-11-13): PoC and Dockerised lab for CVE-2025-67898: MJML mj-include arbitrary file read (absolute path traversal, mjml <= 4.18.0)

References