# CVE-2025-53626: pdfme has Sandbox Escape and Prototype Pollution vulnerabilities in pdfme expression evaluation

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- 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): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-10T17:43:52.000Z
- Modified: 2026-09-10T03:50:25.739Z
- Also known as: GHSA-54xv-94qv-2gfg
- Weaknesses: CWE-79, CWE-94, CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- pdfme pdfme: >= 5.2.0, < 5.4.1
- @pdfme/common (npm): from 5.2.0 before 5.4.1

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `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> (exploit, web)
- <https://github.com/pdfme/pdfme/commit/0dd54739acff2c249ed68c001a896bee38f0fd85> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53626> (advisory)
- <https://github.com/pdfme/pdfme/pull/1117> (web)
- <https://github.com/pdfme/pdfme> (package)
- <https://github.com/pdfme/pdfme/releases/tag/5.4.1> (web)

## Sources

- CVE List: [CVE-2025-53626](https://www.cve.org/CVERecord?id=CVE-2025-53626), CVE Terms of Use, modified 2025-07-10
- GitHub Advisory Database: [GHSA-54xv-94qv-2gfg](https://github.com/advisories/GHSA-54xv-94qv-2gfg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-53626](https://nvd.nist.gov/vuln/detail/CVE-2025-53626), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-53626 · Whole record: https://cve.day/CVE-2025-53626.json · Rebuilt by cve.day 2026-11-25T22:59:01.111Z
