CVE-2022-28368
CVE-2022-28368 is a critical-severity vulnerability in Dompdf Project Dompdf with a CVSS 3.x base score of 9.8. Its EPSS exploit-prediction score of 82% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 82% (100th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-79
- Affected product: Dompdf Project Dompdf
- Published:
- Last modified:
Description
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).
Frequently asked questions
- What is 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).
- How severe is CVE-2022-28368?
- CVE-2022-28368 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-28368 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 82% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-28368?
- CVE-2022-28368 affects Dompdf Project Dompdf. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-28368?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2022-28368 published?
- CVE-2022-28368 was published on 2022-04-03 and last updated on 2026-06-17.
References
- http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html
- https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d
- https://github.com/dompdf/dompdf/issues/2598
- https://github.com/dompdf/dompdf/pull/2808
- https://github.com/snyk-labs/php-goof
- https://packagist.org/packages/dompdf/dompdf#v1.2.1
- https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/
Affected products (1)
- cpe:2.3:a:dompdf_project:dompdf:*:*:*:*:*:*:*:*
More vulnerabilities in Dompdf Project Dompdf
- CVE-2023-24813 — Critical (CVSS 10.0): Dompdf is an HTML to PDF converter written in php. Due to the difference in the attribute parser of Dompdf and…
- CVE-2023-23924 — Critical (CVSS 10.0): Dompdf is an HTML to PDF converter. The URI validation on dompdf 2.0.1 can be bypassed on SVG parsing by passing…
- CVE-2021-3902 — Critical (CVSS 9.8): An improper restriction of external entities (XXE) vulnerability in dompdf/dompdf's SVG parser allows for Server-Side…
- CVE-2021-3838 — Critical (CVSS 9.8): DomPDF before version 2.0.0 is vulnerable to PHAR deserialization due to a lack of checking on the protocol before…
- CVE-2014-5013 — High (CVSS 8.8): DOMPDF before 0.6.2 allows remote code execution, a related issue to CVE-2014-2383.
- CVE-2022-41343 — High (CVSS 7.5): registerFont in FontMetrics.php in Dompdf before 2.0.1 allows remote file inclusion because a URI validation failure…
All CVEs affecting Dompdf Project Dompdf →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →