CVE-2024-25180 Details
Description
An issue discovered in pdfmake 0.2.9 allows remote attackers to run arbitrary code via crafted POST request to the /pdf endpoint. NOTE: this is disputed because the behavior of the /pdf endpoint is intentional. The /pdf endpoint is only available after installing a test framework (that lives outside of the pdfmake applicaton). Anyone installing this is responsible for ensuring that it is only available to authorized testers.
A vulnerability allowing arbitrary code execution has been identified in pdfmake version 0.2.9. This issue arises from a crafted POST request to the '/pdf' endpoint, which is only accessible after installing a test framework outside of the pdfmake application. While the vulnerability has been disputed, it highlights a significant security concern, as the code can be executed without proper authorization.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 26, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bpampuch/pdfmake/issues/2702 | CVE | Issue Tracking |
| https://github.com/joaoviictorti/My-CVES/blob/main/CVE-2024-25180/README.md | CVE | Broken Link |
| https://security.snyk.io/vuln/SNYK-JS-PDFMAKE-6347243 | CVE | ExploitThird Party Advisory |
| https://www.youtube.com/watch?v=QcOlrWUGo6o | CVE | Exploit |
| https://github.com/bpampuch/pdfmake/issues/2702 | [email protected] | Issue Tracking |
| https://github.com/joaoviictorti/My-CVES/blob/main/CVE-2024-25180/README.md | [email protected] | Broken Link |
| https://security.snyk.io/vuln/SNYK-JS-PDFMAKE-6347243 | [email protected] | ExploitThird Party Advisory |
| https://www.youtube.com/watch?v=QcOlrWUGo6o | [email protected] | Exploit |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| pdfmake project pdfmake | 0.2.9 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 13, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 26, 2024 | CVE Modified | CISA-ADP |
| Aug 2, 2024 | CVE Modified | [email protected] |
| May 17, 2024 | CVE Modified | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| May 1, 2024 | CVE Modified | [email protected] |
| Apr 19, 2024 | CVE Modified | [email protected] |
| Feb 29, 2024 | New CVE Received | [email protected] |