Vulnerability library
Security checkJuly 10, 2025

@pdfme/common vulnerable to to XSS and Prototype Pollution through its expression evaluation

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@pdfme/common

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated July 10, 2025