What’s Vulnerable › Vulnerabilities
CVE-2022-0085: Server-Side Request Forgery (SSRF) in dompdf/dompdf
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-06-28 · updated 2026-06-17
- Weakness: CWE-918
Description
Server-Side Request Forgery (SSRF) in GitHub repository dompdf/dompdf prior to 2.0.0.
Affected products
- dompdf: before 2.0.0 — fixed in 2.0.0
- Packagist Dompdf/Dompdf: before 2.0.0; v0.6.0, v0.6.1, v0.6.2, v0.7.0, v0.7.0-beta, v0.7.0-beta2 (+16) — fixed in 2.0.0
How to fix
Upgrade to a fixed version: dompdf 2.0.0; Packagist Dompdf/Dompdf 2.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/dompdf/dompdf/commit/bb1ef65011a14730b7cfbe73506b4bb8a03704bd
- https://huntr.dev/bounties/73dbcc78-5ba9-492f-9133-13bbc9f31236
- https://github.com/dompdf/dompdf/commit/bb1ef65011a14730b7cfbe73506b4bb8a03704bd
- https://huntr.dev/bounties/73dbcc78-5ba9-492f-9133-13bbc9f31236
Get alerted when CVE-2022-0085 or the next vulnerability affects your stack