Vulnerabilities/

Elysia vulnerable to prototype pollution with multiple standalone schema validation

Severity:
High

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:

References

Related Issues

Tags:
npm
elysia
Anything's wrong? Let us know Last updated on December 09, 2025