{"id":"CVE-2020-12827","aliases":["EUVD-2022-2384","GHSA-4hch-r9xf-6vfr"],"status":"published","title":"MJML vulnerable to path traversal","description":"MJML prior to 4.6.3 contains a path traversal vulnerability when processing the mj-include directive within an MJML document.","severity":{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.0266,"percentile":0.85892,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2020-06-17T13:28:04Z","modified":"2026-10-20T10:51:47Z","fixes":[{"ecosystem":"npm","package":"mjml","fixed_in":["4.6.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"mjml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.3"}]}]},{"source":"osv","ecosystem":"npm","package":"mjml","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.6.3"}]}]}],"products":[{"vendor":"mjml","product":"mjml"}],"references":[{"url":"https://github.com/mjmlio/mjml/commit/30e29ed2cdaec8684d60a6d12ea07b611c765a12","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/mjmlio/mjml/releases/tag/v4.6.3","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://twitter.com/mjmlio","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://mjml.io/community","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://rcesecurity.com","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"http://seclists.org/fulldisclosure/2020/Jun/23","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence","web"]},{"url":"http://packetstormsecurity.com/files/158111/MJML-4.6.2-Path-Traversal.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12827","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4hch-r9xf-6vfr"},{"url":"https://github.com/mjmlio/mjml","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-12827","description":"MJML prior to 4.6.3 contains a path traversal vulnerability when processing the mj-include directive within an MJML document.","status":"published","published":"2020-06-17T13:28:04Z","modified":"2024-08-04T12:04:22.868Z","updated_at":"2026-11-02T14:35:52.925152Z"}],"euvd":[{"id":"EUVD-2022-2384","description":"MJML prior to 4.6.3 contains a path traversal vulnerability when processing the mj-include directive within an MJML document.","status":"published","published":"2020-06-17T13:28:04Z","modified":"2024-08-04T12:04:22Z","updated_at":"2026-11-03T03:07:38.81332Z"}],"ghsa":[{"id":"GHSA-4hch-r9xf-6vfr","title":"MJML vulnerable to path traversal","description":"MJML prior to 4.6.3 contains a path traversal vulnerability when processing the `mj-include` directive within an MJML document.","status":"published","published":"2022-05-24T17:20:46Z","modified":"2023-10-19T19:05:12Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:08.847568Z"}],"nvd":[{"id":"CVE-2020-12827","description":"MJML prior to 4.6.3 contains a path traversal vulnerability when processing the mj-include directive within an MJML document.","status":"published","published":"2020-06-17T14:15:10.523Z","modified":"2026-06-17T02:52:23.167Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L","level":"high","assessor":"primary"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:07.249892Z"}],"osv":[{"id":"CVE-2020-12827","description":"MJML prior to 4.6.3 contains a path traversal vulnerability when processing the mj-include directive within an MJML document.","status":"published","published":"2020-06-17T14:15:10.523Z","modified":"2026-10-20T10:51:47.138677901Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L","level":"high"}],"updated_at":"2026-11-02T15:44:14.034736Z"},{"id":"GHSA-4hch-r9xf-6vfr","title":"MJML vulnerable to path traversal","description":"MJML prior to 4.6.3 contains a path traversal vulnerability when processing the `mj-include` directive within an MJML document.","status":"published","published":"2022-05-24T17:20:46Z","modified":"2023-11-08T04:02:12.081113Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:37.148947Z"}]}}
