CVE-2022-28368

CRITICAL
Published Apr 3, 20224y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Apr 3, 2022 4y ago
Last Modified Jun 17, 2026 2w ago

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

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-79 Cross-site Scripting Injection

Affected Products 1

VendorProductVersionRange
dompdf_projectdompdf* <1.2.1

References 7

  • packetstormsecurity.com http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.html
  • github.com https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d
    PatchThird Party Advisory
  • github.com https://github.com/dompdf/dompdf/issues/2598
    PatchThird Party Advisory
  • github.com https://github.com/dompdf/dompdf/pull/2808
    PatchThird Party Advisory
  • github.com https://github.com/snyk-labs/php-goof
    Third Party Advisory
  • packagist.org https://packagist.org/packages/dompdf/dompdf#v1.2.1
    ProductThird Party Advisory
  • snyk.io https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/
    ExploitThird Party Advisory

Remediation

  • github.com https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d
    PatchThird Party Advisory
  • github.com https://github.com/dompdf/dompdf/issues/2598
    PatchThird Party Advisory
  • github.com https://github.com/dompdf/dompdf/pull/2808
    PatchThird Party Advisory