CVE-2025-67898 MJML allows mj-include directory traversal due to an incomplete fix for CVE-2020-12827
MediumCVSS 4.5
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm mjml | <= 4.18.0 | after 4.18.0 | Fixed |
| npm mjml(npm) | < 5.0.0-alpha.9 | 5.0.0-alpha.9 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mjml(npm) | < 5.0.0-alpha.9 | 5.0.0-alpha.9 |
| npm mjml | <= 4.18.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com
- github.com product