Vulnerability library
Security checkDecember 09, 2025

Elysia vulnerable to prototype pollution with multiple standalone schema validation

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

High severitynpmelysia

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Prototype pollution vulnerability in mergeDeep after merging results of two standard schema validations with the same key. Due to the ordering of merging, there must be an any type that is set as a standalone guard, to allow for the __proto__ prop to be merged.

Recommendation

Update the elysia package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 1.4.0, < 1.4.17
  • Patched version(s): 1.4.17

References

Could your website be exposed too?

SmartScanner can check your website for Elysia vulnerable to prototype pollution with multiple standalone schema validation and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated December 09, 2025