Intel

AIKIDO-2025-10455

@pdfme/common is vulnerable to Prototype Pollution

Prototype PollutionCVE-2025-53626 Published Jul 10, 2025

75

High Risk

This Affects:

JS@pdfme/common
5.2.0 - 5.4.0
Fixed in 5.4.1
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to prototype pollution through the replacePlaceholders function. An attacker can manipulate object properties via crafted input, potentially leading to unexpected behavior or security bypasses. The patch addresses this by implementing robust input sanitization and safe property assignment to prevent unauthorized modification of object prototypes, while also strengthening protection against cross-site scripting (XSS) through improved data handling.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@pdfme/common is vulnerable to Prototype Pollution in versions 5.2.0 - 5.4.0.

How to fix this

Upgrade the @pdfme/common library to the patch version.