CVE-2014-2383 — dompdf
Fix: dompdf/dompdf@23a6939CVE-2014-2383 is a Information Exposure vulnerability in dompdf/dompdf. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for dompdf/dompdf — see the affected versions and patch details below.
DOMPDF Arbitrary File Read
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
dompdf/dompdfReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | dompdf/dompdf | ≥ 0.6.0&&< 0.6.1 | 0.6.1composer require dompdf/dompdf:^0.6.1 |
Affected Products
dompdfdompdfResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
dompdf 0.6.0 - 'dompdf.php?read' Arbitrary File Read
by Portcullis · Apr 24, 2014
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for dompdf/dompdf, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update dompdf/dompdf to 0.6.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2014-2383 is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
How to detect CVE-2014-2383
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2014-2383 -u https://target- Template
- Dompdf < v0.6.0 - Local File Inclusion
- Severity
- medium
- Impact
- The vulnerability can lead to unauthorized access to sensitive files, remote code execution, and compromise of the affected system.
- Remediation
- Upgrade Dompdf to a version higher than v0.6.0 to mitigate the vulnerability.
Template by ProjectDiscovery nuclei-templates (0x_Akoko, akincibor, ritikchaddha), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2014-2383 in your dependencies?
Find it across Packagist, including transitive dependencies.