An Origin Validation Error in the elysia-cors library thru 1.3.0 allows attackers to bypass Cross-Origin…
Historical advisory recorded 25 Oct 2026 02:25:01 UTC. Read the latest advisory.
nvd · CVE-2025-50864
PublishedAn 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2025-50864
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-178
Original publisher date fields
published: 2025-08-20T15:15:32.990
lastModified: 2026-07-05T02:16:51.173
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON