Skip to main content
VulnerabilityPublished

CVE-2025-66457: Elysia affected by arbitrary code injection through cookie config

Affects elysiaSource GCVE Database

0
Compare
Authoritative record:CVE-2025-66457· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 1.4.18 soon.

Data as of 27 Nov 2026, 05:09 UTC

CVSS 4.0 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.4.18
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade elysia to 1.4.18.

Affected software

ProductAffectedFixed in
npmelysiaAffected
  • <1.4.18
Fixed in
  • 1.4.18

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Elysia to version 1.4.18 or later, where this vulnerability is patched. As a workaround, sanitize any cookie-related environment input before use, for example by escaping single quotes and template literals in cookie config values. No other vendor advisories indicate additional mitigations or that no action is required.

Description

CVE-2025-66457 is a high-severity vulnerability in Elysia versions prior to 1.4.18 that allows arbitrary code execution via unsanitized cookie configuration injection. This occurs when dynamic cookies are enabled and the cookie config is injected into compiled routes without proper sanitization. Exploitation requires write access to the cookie config or source code, limiting availability. The vulnerability is patched in version 1.4.18.

References

Community reviews

Loading reviews…