Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mPDF | mPDF | 0 ≤8.3.2 | — |