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
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-50864 · CVE overview and exploitation status
nvd · CVE-2025-50864
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.