Medium

DOMPDF Arbitrary File Read

  • Disclosed: 14.05.2022
  • Updated: 11.10.2026 10:22

dompdf.php in dompdf before 0.6.1, when DOMPDF_ENABLE_PHP is enabled, allows context-dependent attackers to bypass chroot protections and read arbitrary files via a PHP protocol and wrappers in the input_file parameter, as demonstrated by a php://filter/read=convert.base64-encode/resource in the input_file parameter.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package dompdf/dompdf >= 0.6.0, < 0.6.1 0.6.1

References

CVSS score -
Weakness (CWE)
CWE-200
Platform
Composer
Package
dompdf/dompdf
Disclosed
14.05.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-qr6q-w4gj-3865 - CC BY 4.0

Vulnerability history: dompdf/dompdf

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (20) in the archive
Total entries
20
First → latest
04.2022 07.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 5
  • High 3
  • Medium 10
  • Low 2

Disclosures per year

  1. 2022: 9
  2. 2023: 3
  3. 2024: 2
  4. 2025: 0
  5. 2026: 6
Severity:
  1. Critical · 9.8 CVE-2021-3838 < 2.0.0 2.0.0
  2. Critical · 10.0 CVE-2023-24813 >= 2.0.2, < 2.0.3 2.0.3
  3. Critical · 10.0 CVE-2023-23924 < 2.0.2 2.0.2
  4. High · 8.8 CVE-2014-5013 >= 0.6, < 0.6.2 0.6.2
  5. High CVE-2010-4879 >= 0.6, < 0.6.1 0.6.1
  6. DOMPDF Arbitrary File Read this entry
    Medium CVE-2014-2383 >= 0.6.0, < 0.6.1 0.6.1
  7. Critical · 9.8 CVE-2022-28368 < 1.2.1 1.2.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.