SecurityContext

CVE-2022-28368: Dompdf - Remote Code Execution

  • Cve: CVE-2022-28368
  • Name: Dompdf - Remote Code Execution
  • 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).
  • Impact: Attackers can execute arbitrary code remotely, potentially leading to full system compromise or server control.
  • Remediation: Update to the latest version of Dompdf or apply security patches that address this issue.
  • Vulnerability type: template_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to craft specific CSS input with malicious src:url
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.83942
  • Epss percentile: 0.997
  • Assignee: [email protected]
  • Published at: 2022-04-03T03:15:08Z
  • Age in days: 1696
  • Modified at: 2026-06-17T04:38:26Z
  • Patch available: yes
  • Public exploits total: 9
  • References total: 8
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-28368
  • Nvd status: modified
  • Checked, none or zero: nuclei templates, public exploits capped, rejected by nvd

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2026-09-24—no

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/nvd2022-04-03
https://github.com/Tw0-Y/THM.gitvulncheck-xdb2024-10-05
https://github.com/Henryisnotavailable/Dompdf-Exploit-RCEpoc-in-github2023-05-07
https://github.com/Henryisnotavailable/Dompdf-Exploit-RCE.gitvulncheck-xdb2023-05-07
https://github.com/That-Guy-Steve/CVE-2022-28368-handlerpoc-in-github2023-04-28

References

UrlSourceTags
https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141dnvdPatch, Third Party Advisory
https://github.com/dompdf/dompdf/issues/2598nvdPatch, Third Party Advisory
https://github.com/dompdf/dompdf/pull/2808nvdPatch, Third Party Advisory
https://snyk.io/blog/security-alert-php-pdf-library-dompdf-rce/nvdExploit, Third Party Advisory
https://github.com/snyk-labs/php-goofnvdThird Party Advisory
https://packagist.org/packages/dompdf/dompdf#v1.2.1nvdProduct, Third Party Advisory
https://socradar.io/blog/operation-master-intrusion-monetization-pipeline/vulncheckVulncheck Reported Exploitation
http://packetstormsecurity.com/files/171738/Dompdf-1.2.1-Remote-Code-Execution.htmlnvd

Products

ProductAffectedPlatform boundSourcesUrl
dompdf_project:dompdf< 1.2.1nonvd/v1/products/dompdf_project/dompdf

Projects

RepositoryLink kindsIndexedUrl
dompdf/dompdfcommit, fix, issues, package, pullyes/v1/repositories/dompdf/dompdf

Index

  • Repositories: 13
  • Repositories high signal: 11
  • Packages: 1

Exploitation

  • Known exploited by: vulncheck
  • Vulncheck known exploited since: 2026-09-24
  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 9
  • Public exploit first date: 2022-04-03
  • Remote: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, initial access, authentication required
  • Not known: known exploited since, nuclei template, initial access since, exposed hosts