CVE-2021-3902
An improper restriction of external entities (XXE) vulnerability in do ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
An improper restriction of external entities (XXE) vulnerability in dompdf/dompdf's SVG parser allows for Server-Side Request Forgery (SSRF) and deserialization attacks. This issue affects all versions prior to 2.0.0. The vulnerability can be exploited even if the isRemoteEnabled option is set to false. It allows attackers to perform SSRF, disclose internal image files, and cause PHAR deserialization attacks.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| composer::GitHub Security Advisory Composer | dompdf/dompdf | 2.0.0 |
| debian 12 | php-dompdf | 2.0.2+dfsg-1 |
| echo | php-dompdf | 2.0.2+dfsg-1 |