Live threats

All CVEs / Dompdf Project

CVE-2022-28368Dompdf Project Dompdf

Critical 9.8 No auth neededHigh EPSS

Priority
82
CVSS 3.1
9.8
EPSS
80.4%
probability of exploitation in 30 days · percentile 100
Auth required
No
Published
Apr 3, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Dompdf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist dompdf/dompdf < 1.2.1 1.2.1 composer require "dompdf/dompdf:^1.2.1"

Per OSV / GitHub Advisories (GHSA-x752-qjv4-c4hc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
dompdf_projectdompdf< 1.2.1

Official sources

References

Links published by the sources. Open them with care.