CVE-2014-5011
Medium · 6.5CVSS
6.5
EPSS
1.5%
Published
Jan 10, 2020
CISA due date
—
Cloudanix analysis
A flaw in a PDF creation tool used by websites could let outsiders see private files or data that should stay hidden.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw in DOMPDF before version 0.6.2 permits unauthorized retrieval of sensitive data during PDF document generation by exposing internal resources or files.
Why it matters to the business
Organizations using affected DOMPDF versions risk exposure of confidential documents or configuration data, potentially leading to regulatory penalties or loss of customer trust; the issue has remained unpatched in many deployments for years with no active exploitation campaigns noted.
How an attack unfolds
An attacker sends crafted input to a web application using vulnerable DOMPDF that triggers the library to process and return restricted information in the generated output, without requiring authentication beyond the application's normal usage.
How to fix it
Upgrade the dompdf library to version 0.6.2 or newer in all applications; if immediate upgrade is not feasible, restrict or disable PDF generation features that accept untrusted input.
How to confirm the fix worked
Inspect the installed dompdf version in composer.json, package manifests, or vendor directories and confirm it is at least 0.6.2; test PDF generation endpoints with known sensitive paths to verify they no longer leak data.
Typical attack path
- Identify a web endpoint that invokes DOMPDF for PDF rendering
- Submit specially formed content or options designed to leak files or data
- Receive the generated PDF containing the disclosed information
- Extract and exfiltrate the sensitive content
How to detect it
Review application logs for unexpected PDF generation requests, unusual file paths referenced during rendering, or outbound transfers of generated documents containing sensitive content.
What your security team should do
- Prioritize inventory of all applications using dompdf and schedule upgrades
- Implement input validation and output filtering around PDF generation until patched
- Monitor dependency scanners for future reports on this component
The record
DOMPDF before 0.6.2 allows Information Disclosure.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Packagist | dompdf/dompdf | 0.6 | 0.6.2 |
| Debian:11 | php-dompdf | 0 | 0.6.2+dfsg-1 |
| Debian:12 | php-dompdf | 0 | 0.6.2+dfsg-1 |
| Debian:13 | php-dompdf | 0 | 0.6.2+dfsg-1 |
| Ubuntu:18.04:LTS | php-dompdf | 0 | 0.6.2+dfsg-3 |
| Ubuntu:20.04:LTS | php-dompdf | 0 | 0.6.2+dfsg-3 |
| Ubuntu:20.04:LTS | php-dompdf | 0 | 0.6.2+dfsg-3ubuntu0.20.04.1 |
| Ubuntu:Pro:16.04:LTS | php-dompdf | 0 | 0.6.1+dfsg-2ubuntu1+esm1 |
| Ubuntu:Pro:18.04:LTS | php-dompdf | 0 | 0.6.2+dfsg-3ubuntu0.18.04.1~esm1 |
| packagist | dompdf/dompdf | 0.6 | No fix |
Related vulnerabilities
- CVE-2021-3838 [Unknown description] Also affects dompdf/dompdf
- CVE-2014-2383 dompdf.php in dompdf before 0.6.1, when DOMPDF_ENABLE_PHP is enabled, allows… Also affects dompdf/dompdf
- CVE-2026-114657 Grav from 2.0.0 before 2.2.5 contains an information disclosure vulnerability that allows… CWE-200
- CVE-2026-114574 A security vulnerability has been detected in massCodeIO massCode 5.10. CWE-200
- CVE-2026-111756 follow-redirects is a Node.js HTTP and HTTPS client wrapper that automatically follows… CWE-200
- CVE-2026-111755 follow-redirects is a Node.js HTTP and HTTPS client wrapper that automatically follows… CWE-200
- CVE-2026-112091 A flaw has been found in Dav-ee dairy-management-system… CWE-200
- CVE-2026-109259 ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains an uninitialized memory… CWE-200