GHSA-f9qj-4c5x-cpcw
MODERATECVE-2025-50864An 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
- Affected
- < 1.3.1
- Fixed in
- 1.3.1
- Weakness
- CWE-178
- Published
- 2025-08-20
- Source
- github