LiveActive security incident?Get immediate response
CVE Record

CVE-2025-50864: An Origin Validation Error in the elysia-cors library thru 1.3.0 allows attackers to bypass Cross-Origin Re...

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.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This flaw can make a website trust the wrong origin for browser cross-origin requests. If an application uses elysia-cors through 1.3.0 and expects only exact trusted domains, a lookalike origin could be accepted because the library checks for substrings.

Executive priority

Treat this as a moderate application security issue. Prioritize internet-facing services that use elysia-cors for sensitive browser data flows, but do not treat it as confirmed exploited based on the supplied evidence.

Technical view

The issue is an origin validation error in elysia-cors through 1.3.0. The supplied origin is accepted when it appears as a substring of a configured allowed domain, instead of requiring an exact origin match. The supplied CVSS is 6.5 medium with network access, low complexity, and user interaction required.

Likely exposure

Exposure is likely limited to applications using elysia-cors through 1.3.0 for CORS allowlist enforcement, especially where trusted domains are configured and sensitive browser-accessible routes rely on that control.

Exploitation context

The bundle does not show KEV listing or confirmed active exploitation. The CVSS vector indicates remote exploitation with low complexity but requires user interaction. Public references include a write-up and a GitHub commit, so awareness is public.

Researcher notes

The source bundle names elysia-cors through 1.3.0, but affected CPE/product fields are n/a. There is also tension between the description's user-data impact and the supplied CVSS vector showing confidentiality none and integrity high.

Mitigation direction

  • Identify applications using elysia-cors through version 1.3.0.
  • Review vendor guidance and the referenced GitHub commit for the exact fix.
  • Upgrade to a fixed package version when confirmed by the project.
  • Require exact origin matching for configured CORS allowlists.
  • Avoid broad or substring-based domain allow rules for sensitive routes.

Validation and detection

  • Inspect dependency manifests and lockfiles for elysia-cors versions.
  • Review CORS configuration for exact trusted origins only.
  • Test that lookalike origins are rejected by protected endpoints.
  • Confirm deployed code includes the vendor's origin-matching correction.
  • Check logs for unusual cross-origin requests to sensitive routes.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-178: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-50864 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N2.83.6CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2025-50864Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.