CVE-2025-50864
Last modified
CVE-2025-50864 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-50864?
How severe is CVE-2025-50864?
How do I fix CVE-2025-50864?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-50858Reflected Cross-Site Scripting in the List MySQL Databases f…6.1
- CVE-2025-50859Reflected Cross-Site Scripting in the Change Template functi…6.1
- CVE-2025-5086A deserialization of untrusted data vulnerability affecting …9
- CVE-2025-50860SQL Injection in the listdomains function in Easy Hosting Co…5.4
- CVE-2025-50861The Lotus Cars Android app (com.lotus.carsdomestic.intl) 1.2…6.5
- CVE-2025-50862The Lotus Cars Android app (com.lotus.carsdomestic.intl) 1.2…5.9
- CVE-2025-50866CloudClassroom-PHP-Project 1.0 contains a reflected Cross-si…6.1
- CVE-2025-50867A SQL Injection vulnerability exists in the takeassessment2.…6.5
- CVE-2025-50868A SQL Injection vulnerability exists in the takeassessment2.…6.5
- CVE-2025-50869A stored Cross-Site Scripting (XSS) vulnerability exists in …6.1
- CVE-2025-5087Kaleris NAVIS N4 ULC (Ultra Light Client) communicates insec…6
- CVE-2025-50870Institute-of-Current-Students 1.0 is vulnerable to Incorrect…9.8
Are you affected by CVE-2025-50864?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
