CVE-2025-53626
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-07-10
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.3 %
higher than 21 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| pdfme | common (npm) | ≥ 5.2.0, < 5.4.1 | Affected |
Weakness type
-
CWE-1321: Improperly Controlled Modification of Object Prototype Attributes
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
-
CWE-79: Improper Neutralization of Input During Web Page Generation
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
-
CWE-94: Improper Control of Generation of Code
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or b…
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1027.006: HTML Smuggling
- T1027.009: Embedded Payloads
- T1564.009: Resource Forking
- T1574.010: Services File Permissions Weakness
References
- https://github.com/pdfme/pdfme/commit/0dd54739acff2c249ed68c001a896bee38f0fd85
- https://github.com/pdfme/pdfme/security/advisories/GHSA-54xv-94qv-2gfg
- https://github.com/pdfme/pdfme/security/advisories/GHSA-54xv-94qv-2gfg
Related at Berigo
Articles
-
Four years in prison for one of Conti's developers
Same product
2026-09-26
Oleksii Oleksiyovych Lytvynenko was sentenced in the United States on 10 September 2026 to four years in prison for his part in the Conti ransomware …
-
Nine advisories in one day, from brake computers to ship transponders
Same product
2026-08-25
CISA published seven new ICS advisories on 25 August 2026 and revised two older ones the same day. Five of the nine carry a top CVSS v3.1 score of 9.…
-
Russian clusters bypass two step verification by asking for app passwords
Same product
2026-08-24
Google Threat Intelligence Group described three clusters linked to Russian intelligence on 20 August 2026, targeting academics, the defence industry…
-
CISA updates the Medusa advisory, more than 500 organisations hit
Same product
2026-08-24
CISA, the FBI and the US Department of Health and Human Services updated their joint advisory on Medusa ransomware on 18 August 2026. As of April 202…
Services
-
NIS2 for the Board
NIS2 has not yet been implemented in Norwegian law. Berigo helps the board establish which requirements the organisation is subject to, and supports …
-
AI Governance
Berigo helps organisations adopt artificial intelligence responsibly and with clear governance: from EU AI Act readiness to management systems aligne…
-
Secure Post-Merger Integration
Support for secure integration after acquisitions, mergers and carve-outs: from day-1 readiness to a consolidated ISMS and regulatory continuity.
-
ISO/IEC 27001: advisory and certification readiness
ISO/IEC 27001 advisory and an information security management system that is used in practice and able to withstand a certification audit. Choose a g…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.