Live threats

All CVEs / Dompdf Project

CVE-2022-41343Dompdf Project Dompdf

High 7.5 No auth needed

Priority
61
CVSS 3.1
7.5
EPSS
5.4%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Sep 25, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-552
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

registerFont in FontMetrics.php in Dompdf before 2.0.1 allows remote file inclusion because a URI validation failure does not halt font registration, as demonstrated by a @font-face rule.

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 < 2.0.1 2.0.1 composer require "dompdf/dompdf:^2.0.1"

Per OSV / GitHub Advisories (GHSA-6x28-7h8c-chx4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
dompdf_projectdompdf< 2.0.1

Official sources

References

Links published by the sources. Open them with care.