Skip to main content
← All vulnerabilities
CVE-2025-66456GHSA-HXJ9-33PP-J2CC

Elysia vulnerable to prototype pollution with multiple standalone schema validation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.17
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

Elysia is a Typescript framework for request validation, type inference, OpenAPI documentation and client-server communication. Versions 1.4.0 through 1.4.16 contain a 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. When combined with GHSA-8vch-m3f4-q8jf this allows for a full RCE by an attacker. This issue is fixed in version 1.4.17. To workaround, remove the `proto key` from body.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • elysiajs elysia

    From 1.4.0 · fixed in 1.4.17

  • elysianpm

    From 1.4.0 · fixed in 1.4.17

References 5

GitHub · elysiajs/elysia