Vulnerability · Published Jul 10, 2025 · Assigned by GitHub_M
CVE-2025-53626pdfme has Sandbox Escape and Prototype Pollution vulnerabilities in pdfme expression evaluation
Medium 6.1
In plain English
A medium-severity code injection in pdfme from pdfme. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.3%top 73.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
pdfme is a TypeScript-based PDF generator and React-based UI. The expression evaluation feature in pdfme 5.2.0 to 5.4.0 contains critical vulnerabilities allowing sandbox escape leading to XSS and prototype pollution attacks. This vulnerability is fixed in 5.4.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @pdfme/common | 5.4.1 | GHSA-54xv-94qv-2gfg |
Affected products (as reported)
Weakness: CWE-94, CWE-1321, CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/pdfme/pdfme/security/advisories/GHSA-54xv-94qv-2gfg x_refsource_CONFIRM
- https://github.com/pdfme/pdfme/commit/0dd54739acff2c249ed68c001a896bee38f0fd85 x_refsource_MISC