{"id":"CVE-2025-67898","published":"2025-12-14T22:01:05Z","modified":"2025-12-15T16:24:49Z","title":"MJML through 4.18.0 allows mj-include directory traversal to test file existence and (in the type=\"css\" case) read files","vendor":"MJML","product":"MJML","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00369,"percentile":0.31582,"provenance":"source"},"cwes":[{"id":"CWE-36","name":"Absolute Path Traversal"}],"references":[{"url":"https://github.com/mjmlio/mjml/issues/3018","tags":[]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":6.32},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.15}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-13","earliestUrl":"https://github.com/justmumu/CVE-2025-67898","repos":[{"name":"justmumu/CVE-2025-67898","url":"https://github.com/justmumu/CVE-2025-67898","stars":0,"created":"2026-11-13"}]},"first":{"date":"2026-11-13","source":"PoC-in-GitHub","url":"https://github.com/justmumu/CVE-2025-67898"},"provenance":"source"},"vendorSlug":"mjml","affectedVersions":[{"vendor":"MJML","product":"MJML","versions":["<= 4.18.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-15T16:24:41.732414Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mjml","vulnerableRanges":["<5.0.0-alpha.9"],"patched":["5.0.0-alpha.9"],"from":["GHSA-45h5-66jx-r2wf"],"provenance":"source"}],"summary":{"text":"The flaw is a directory traversal weakness in the mj-include component of MJML, affecting versions through 4.18.0. An attacker able to supply input that is processed by mj-include can use path traversal to probe whether files exist on the server and, when the include uses type=\"css\", read the contents of those files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:22Z"},"euvd":{"id":"EUVD-2025-203312","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mjml-cve-2020-12827","parents":[{"from":"CVE-2020-12827","to":"CVE-2025-67898","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this issue exists because of an incomplete fix for CVE-2020-12827.","from":"CVE.org","in":"CVE-2025-67898"},{"kind":"osv-related","provenance":"source","id":"GHSA-45h5-66jx-r2wf","via":"reference","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12827"},{"kind":"same-code","provenance":"machine","files":["packages/mjml-core/src/index.js"],"commits":["https://github.com/mjmlio/mjml/commit/30e29ed2cdaec8684d60a6d12ea07b611c765a12","https://github.com/mjmlio/mjml/commit/517b376b068e71c713ec4bb4ef9e5b0b7235b8ce"],"basis":"shared function","functions":["mjml2html"]},{"kind":"similar","provenance":"machine","score":0.55,"basis":"same package + description similarity"}]}]}}