Read the docs
TI-2025-32255 Aliases CVE-2025-50864GHSA-f9qj-4c5x-cpcw

An Origin Validation Error in the elysia-cors library thru 1.3.0 allows attackers to…

Priority LOW 29CWE-178Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-346.

Summary

An Origin Validation Error in the elysia-cors library thru 1.3.0 allows attackers to bypass Cross-Origin Resource Sharing (CORS) restrictions. The library incorrectly validates the supplied origin by checking if it is a substring of any domain in the site's CORS policy, rather than performing an exact match. For example, a malicious origin like "notexample.com", "example.common.net" is whitelisted when the site's CORS policy specifies "example.com." This vulnerability enables unauthorized access to user data on sites using the elysia-cors library for CORS validation.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00493 42nd percentileScored 2026-11-07
Fix Fixed @elysiajs/cors (npm): 1.3.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—@elysiajs/cors (npm)before 1.3.11.3.1Patch availableGHSA-f9qj-4c5x-cpcw
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • @elysiajs/cors (npm) Vendor— Affected before 1.3.1 Fixed in 1.3.1 Patch available GHSA-f9qj-4c5x-cpcw

Remediation

  • Fix · GHSA-f9qj-4c5x-cpcw @elysiajs/cors (npm) Fixed in 1.3.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-50864
  2. 2026-10-03 Alias added: GHSA-f9qj-4c5x-cpcw

References

Sources