CVE-2024-25180: pdfmake · Code Injection
Affects pdfmakeSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 09:15 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 63% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 29 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmpdfmakepkg:npm/pdfmakeOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate this vulnerability, organizations should ensure that the /pdf endpoint exposed by the test framework is never accessible from untrusted networks. Network-level controls such as firewalls and VPNs should restrict access strictly to authorized testers. Remove or disable the test framework in production environments to eliminate the attack surface entirely. Implement strict access controls and authentication mechanisms around any testing interfaces. Monitor network traffic and logs for suspicious POST requests targeting the /pdf endpoint. If possible, upgrade to a pdfmake version that does not include this test framework or apply vendor patches once available. Conduct regular security reviews of development and testing environments to ensure no unintended exposure. Additionally, consider containerizing or isolating testing environments to limit the blast radius of any potential compromise.
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.