GHSA-8vch-m3f4-q8jf · Severity: high · Ecosystem: npm — Elysia affected by arbitrary code injection through cookie config
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 attack requires write access to either the Elysia app's source code (in which case the vulnerability is meaningless) or write access to the cookie config (perhaps where it is assumed to be provisioned by the environment). This issue is fixed in version 1.4.18.
Conclusion & alert: CVE-2025-66457 is rated Exploit Available (52.2/100): CVSS High severity, with low exploitation likelihood (EPSS 0.07%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-12-10 | — | 0.07% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 4.0 | HIGH |
|
— | — | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-8vch-m3f4-q8jf · Severity: high · Ecosystem: npm — Elysia affected by arbitrary code injection through cookie config
| URL | Tags |
|---|---|
| https://github.com/elysiajs/elysia/commit/26935bf76ebc43b4a43d48b173fc853de43bb51e | Patch |
| https://github.com/elysiajs/elysia/commit/3af978663e437dccc6c1a2a3aff4b74e1574849e | Patch |
| https://github.com/elysiajs/elysia/pull/1564 | Issue Tracking Patch |
| https://github.com/elysiajs/elysia/security/advisories/GHSA-8vch-m3f4-q8jf | Exploit Patch Vendor Advisory |
| https://github.com/elysiajs/elysia/security/advisories/GHSA-hxj9-33pp-j2cc | Not Applicable |
| https://github.com/sportshead/elysia-poc | Exploit Third Party Advisory |