Cyber Resilience

CVE-2025-66456

Elysiajs Elysia 1.4.0 – 1.4.17

Public PoC
Published
09 December 2025
Modified
17 December 2025
Patch / advisory
CVSS Score v4 9.1
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0055 44th percentile
Risk Priority 46 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-66456 is a critical-severity Prototype Pollution (CWE-1321) vulnerability in Elysiajs Elysia. Its CVSS base score is 9.1 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 44th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-66456 is a prototype pollution vulnerability (CWE-1321) affecting the Elysia TypeScript framework, which handles request validation, type inference, OpenAPI documentation, and client-server communication. The issue resides in the `mergeDeep` function, occurring after merging results from two standard schema validations sharing the same key. This flaw impacts versions 1.4.0 through 1.4.16, with a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating critical severity due to its potential for high-impact remote exploitation.

Unauthenticated remote attackers can exploit this vulnerability over the network with low complexity and no user interaction required. Exploitation hinges on specific conditions, including an "any" type set as a standalone guard that permits the `__proto__` property to merge during the validation process. When chained with GHSA-8vch-m3f4-q8jf, it enables full remote code execution (RCE) by polluting the JavaScript prototype chain.

The vulnerability is fixed in Elysia version 1.4.17. As a workaround, applications should remove the `__proto__` key from request bodies prior to processing. Official advisories and patches are detailed in GitHub security advisory GHSA-hxj9-33pp-j2cc, related advisory GHSA-8vch-m3f4-q8jf, pull request #1564, and commits 26935bf76ebc43b4a43d48b173fc853de43bb51e and 3af978663e437dccc6c1a2a3aff4b74e1574849e.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-31865Same product: Elysiajs Elysia
CVE-2025-66457Same product: Elysiajs Elysia
CVE-2026-30837Same product: Elysiajs Elysia
CVE-2025-57351Shared CWE-1321
CVE-2025-57320Shared CWE-1321
CVE-2025-57327Shared CWE-1321
CVE-2025-54803Shared CWE-1321
CVE-2026-53592Shared CWE-1321
CVE-2025-57324Shared CWE-1321
CVE-2026-33994Shared CWE-1321

Affected Assets

elysiajs
elysia
1.4.0 — 1.4.17

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V15.3.6

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input validation and safe property assignment to prevent prototype pollution.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development catches prototype-pollution flaws before release.

prevents

Secure development lifecycle mandates input validation and object-handling controls that directly prevent prototype pollution.

prevents

Application security requirements explicitly call for safeguards against unsafe object attribute manipulation.

prevents

Secure architecture principles reduce the likelihood of prototype pollution through safe design patterns.

prevents

Secure coding standards directly prohibit unsafe prototype attribute assignment and require defensive checks.

prevents

Change-management processes ensure security fixes for prototype-pollution issues are tracked and deployed.

References