Skip to content
Medium 6.9

mPDF through 8.3.2 contains an SVG entity expansion vulnerability in src/Image/Svg.php that...

CVE-2026-142220 First seen on SecPulse

Affected packages

PackageAffected → Fixed
mpdfmPDF
≤ 8.3.2→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details