Description
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.
Recommendation
Update the @pdfme/common package to the latest compatible version. Followings are version details:
- Affected version(s): >= 5.2.0, < 5.4.1
- Patched version(s): 5.4.1
References
Could your website be exposed too?
SmartScanner can check your website for @pdfme/common vulnerable to to XSS and Prototype Pollution through its expression evaluation and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Webrecorder packages are vulnerable to XSS through 404 error handling logic - @webrecorder/wabac - CVE-2025-58765
- vue-i18n's escapeParameterHtml does not prevent DOM-based XSS through its tag attributes - @intlify/core-base - CVE-2025-53892
- Linkify Allows Prototype Pollution & HTML Attribute Injection (XSS) - CVE-2025-8101
- query-parser-string is vulnerable to Prototype Pollution - CVE-2025-63704


