Skip to main content
CVE-2024-25180VulnerabilityPublished Updated

CVE-2024-25180: pdfmake · n/a

Affects pdfmakeSource CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical.

Data as of 26 Oct 2026, 07:57 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Feb 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
npmpdfmakepkg:npm/pdfmakeOther threatsAffected
  • =0.2.9
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.

References

Community reviews

Loading reviews…