CVE-2025-66457Code Injection in Elysia

CWE-94Code Injection5 documents5 sources
Severity
7.5HIGHNVD
EPSS
0.1%
top 72.97%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 9

Description

Elysia is a Typescript framework for request validation, type inference, OpenAPI documentation and client-server communication. Versions 1.4.17 and below are subject to arbitrary code execution from cookie config. When dynamic cookies are enabled (e.g. there an existing cookie schema), the cookie config is injected into the compiled route without first being sanitised. Availability of this exploit is generally low, but when combined with GHSA-hxj9-33pp-j2cc, it allows for a full RCE chain. An at

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected Packages3 packages

CVEListV5elysiajs/elysia< 1.4.18
NVDelysiajs/elysia< 1.4.18
npmelysiajs/elysia< 1.4.18

Patches

🔴Vulnerability Details

3
CVEList
Elysia affected by arbitrary code injection through cookie config2025-12-09
GHSA
Elysia affected by arbitrary code injection through cookie config2025-12-09
OSV
Elysia affected by arbitrary code injection through cookie config2025-12-09

🕵️Threat Intelligence

1
Wiz
CVE-2025-66457 Impact, Exploitability, and Mitigation Steps | Wiz
CVE-2025-66457 — Code Injection in Elysiajs Elysia | cvebase