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 June 26, 2026)

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.

References

  • github.com/advisories/GHSA-45h5-66jx-r2wf
  • github.com/mjmlio/mjml/commit/517b376b068e71c713ec4bb4ef9e5b0b7235b8ce
  • github.com/mjmlio/mjml/issues/3018
  • github.com/mjmlio/mjml/pull/3033
  • 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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.0.0-alpha.9

Fixed versions

  • 5.0.0-alpha.9

Solution

Upgrade to version 5.0.0-alpha.9 or above.

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 Sun, 08 Nov 2026 00:16:59 +0000.