Skip to main content
Public proof of conceptFix available

CVE-2022-28368

A public proof of concept exists; no exploitation attested.

  • Published2022-04-03
  • Fixed in1.2.1
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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).

Timeline

dates in UTC
  1. 2022-04-0303:15CVE publishedNVD
  2. 2023-04-06Exploit-DB entryExploit-DB

Versions per branch

NVD · OSV
Dompdf project dompdf
BranchAffectedFixed in
1.2< 1.2.11.2.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • dompdf/dompdfTuxCare:Packagistfrom 0.8.6 · fixed in 0.8.6-p1+tuxcare

Full record on NVD

Fix

  1. Update Dompdf project dompdf to 1.2.1

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-51270
Exploit-DB
Metasploit modules
1 moduleexploit/multi/http/dompdf_rce_cve_2022_28368rank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2022-04-03
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-x752-qjv4-c4hc

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).

Is CVE-2022-28368 actively exploited?

Active exploitation of CVE-2022-28368 has not been confirmed. Its EPSS score was 83.9% on 2026-11-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-28368?

CVE-2022-28368 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running dompdf/dompdf? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record