XSS in Dompdf Project
CVE-2022-28368
Dompdf 1.2.1 allows remote code execution via a .php file in the src:url field of an @font-face Cascading Style Sheets (CSS) statement (within an HTML input file).
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.829 (99.7th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.824 · newest: 0.829 · change: +0.004
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/dompdf/dompdf/issues/2598 (Patch, Third Party Advisory)
- snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/ (Exploit, Third Party Advisory)
- github.com/snyk-labs/php-goof (Third Party Advisory)
- packagist.org/packages/dompdf/dompdf (Product, Third Party Advisory)
- github.com/dompdf/dompdf/pull/2808 (Patch, Third Party Advisory)
- github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d (Patch, Third Party Advisory)
- packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html
Frequently asked questions
- What is CVE-2022-28368?
- CVE-2022-28368 is a critical-severity vulnerability in Dompdf Project, classified under Cross-site Scripting. CVSS score: 9.8/10. Published 2022-04-03.
- How severe is CVE-2022-28368?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-28368 known to be exploited?
- 17 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.