CVE-2026-142220
mPDF through 8.3.2 SVG Entity Expansion DoS via Svg.php
- Severity
- medium CVSS 6.9 (v4.0)
- Affects
- mPDF · mpdf
- Weakness
- CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
- Published
- 2 December 2026 by VulnCheck
mPDF through 8.3.2 contains an SVG entity expansion vulnerability in src/Image/Svg.php that allows attackers to exhaust PHP memory by supplying nested entity declarations. Attackers can embed a small SVG with entities referencing each other repeatedly as an image or inline SVG, causing exponential expansion that terminates PDF generation with a fatal error.
Our coverage
We have not written about this one. Know why it matters? Send a tip.