# CVE-2024-25180: An issue discovered in pdfmake 0.2.9 allows remote attackers to run arbitrary code via crafted POST request to the /pdf endpoint.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.02%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-02-29T00:00:00.000Z
- Modified: 2026-06-17T07:15:39.390Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pdfmake_project pdfmake: 0.2.9

## References

- <https://www.youtube.com/watch?v=QcOlrWUGo6o> (exploit)
- <https://security.snyk.io/vuln/SNYK-JS-PDFMAKE-6347243> (exploit, third-party-advisory)
- <https://github.com/joaoviictorti/My-CVES/blob/main/CVE-2024-25180/README.md> (broken-link)
- <https://github.com/bpampuch/pdfmake/issues/2702> (issue-tracking)

## Sources

- CVE List: [CVE-2024-25180](https://www.cve.org/CVERecord?id=CVE-2024-25180), CVE Terms of Use, modified 2024-08-26
- NVD: [CVE-2024-25180](https://nvd.nist.gov/vuln/detail/CVE-2024-25180), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-25180 · Whole record: https://cve.day/CVE-2024-25180.json · Rebuilt by cve.day 2026-11-25T22:58:37.192Z
