Vulnerability library
Security checkJune 26, 2026

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmmjml

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

Update the mjml package to the latest compatible version. Followings are version details:

  • Affected version(s): < 5.0.0-alpha.9
  • Patched version(s): 5.0.0-alpha.9

References

Could your website be exposed too?

SmartScanner can check your website for MJML allows mj-include directory traversal due to an incomplete fix for CVE-2020-12827 and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 26, 2026