Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mjml
  4. ›
  5. CVE-2025-67898

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

December 15, 2025 (updated December 17, 2025)

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.

References

  • github.com/advisories/GHSA-45h5-66jx-r2wf
  • github.com/mjmlio/mjml
  • github.com/mjmlio/mjml/issues/3018
  • nvd.nist.gov/vuln/detail/CVE-2020-12827
  • nvd.nist.gov/vuln/detail/CVE-2025-67898

Code Behaviors & Features

Detect and mitigate CVE-2025-67898 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 4.18.0

Solution

Unfortunately, there is no solution available yet.

Impact 4.5 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-36: Absolute Path Traversal

Source file

npm/mjml/CVE-2025-67898.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:42 +0000.