Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure authenticated victim to attacker page
-
DeliveryBrowser issues cross-origin credentialed request
-
ExploitMiddleware fails Origin validation
-
ExecutionCross-domain response read or action performed
-
ImpactLimited data/state disclosure or modification
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
|
| Exploitation Conditions | Exploitation requires: (1) a target application using the connect-cors/connect-xcors middleware to enforce origin-based access control; (2) a victim who is already authenticated (has an active credentialed session) to that application; and (3) passive user interaction (UI:P) - the victim must visit or load attacker-controlled web content that triggers the cross-origin request. Impact is limited to Low confidentiality and Low integrity (no availability impact), and success depends on the browser sending credentials cross-origin, so the practical blast radius is bounded to whatever the vulnerable app exposes to authenticated CORS requests. No special server configuration is stated beyond use of the vulnerable middleware for origin checks. |
| Impact | Low-to-moderate real-world risk. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N) scores 5.3, reflecting a network-reachable, low-complexity, unauthenticated flaw that nonetheless requires passive user interaction (UI:P) and yields only Low confidentiality/integrity impact. No EPSS score, no CISA KEV listing, and no public exploit are present in the input, so exploitation status is: no public exploit identified at time of analysis. There is no SSVC decision data provided. Signals are internally consistent (a CORS/origin bypass is genuinely network-borne but user-interaction-gated and limited in impact), so this is a real-but-low-priority issue rather than a high-CVSS/low-risk mismatch. Two data caveats must be stated explicitly: the affected-package name conflicts across sources - the Description names 'connect-xcors' while the CPE names 'connect-cors' (github.com/antono) - verify the exact package with the reporter; and the 'Authentication Bypass' tag overstates the mechanism, which is CWE-346 Origin Validation Error, not an authentication bypass. |
| Exploit ScenarioDerived | An attacker hosts a malicious web page and lures a victim who is authenticated to a Node.js/Connect application that uses the connect-cors (a.k.a. connect-xcors) middleware. Because the middleware fails to properly validate the request Origin, the attacker's page issues a cross-domain request that the browser sends with the victim's credentials, and the flawed middleware allows the response to be read or the action to proceed across origins. No public proof-of-concept is referenced; UI:P indicates the victim must merely visit or interact passively with attacker-controlled content. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 28, 2026
Cross-domain authenticated request bypass in the connect-xcors (connect-cors) Node.js middleware lets an attacker defeat origin verification so that a victim's browser issues credentialed cross-origin requests the application would otherwise reject. The flaw is remotely reachable without attacker authentication (CVSS 4.0 PR:N) but requires the victim to be logged in to the affected application and to load attacker-controlled web content (UI:P); impact is bounded to low confidentiality and low integrity with no availability effect, giving low-to-moderate real-world risk. No public exploit code has been identified at time of analysis, and no CISA KEV entry exists for this CVE.
RemediationAI
No vendor-released patch or fixed version has been identified at time of analysis, so remediation must currently be compensatory. The most direct action is to stop relying on connect-xcors/connect-cors for origin enforcement: remove or replace the middleware with an actively maintained CORS implementation and validate the Origin header against an explicit, exact-match allowlist, rejecting requests whose Origin is missing, null, or not an exact case-insensitive match, and never reflecting arbitrary Origin values back in Access-Control-Allow-Origin. Where credentialed cross-origin access is not required, disable Access-Control-Allow-Credentials and avoid combining it with any wildcard or pattern-based origin matching (the trade-off is that legitimate cross-origin clients using credentials will break and must be migrated to same-site or token-based calls). Harden session handling by setting session cookies to SameSite=Lax or Strict and, where Lax is needed for navigation flows, add per-request CSRF tokens or required custom headers on state-changing endpoints so a forged cross-origin request cannot authenticate; note that SameSite=Strict can disrupt inbound-link and OAuth redirect flows. Because exploitation requires a logged-in victim to load attacker content, monitor and restrict exposure of authenticated endpoints that mutate state, and re-check the TCS-CERT advisory at https://cds.thalesgroup.com/en/tcs-cert/CVE-2026-18825 for an updated patched release before deciding when the middleware can be reinstated.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is an origin validation error (CWE-346) inside the middleware component of the connect-xcors npm package, a Connect/Express-style middleware layer that performs CORS origin checking for Node.js applications. Because the middleware is responsible for deciding whether a cross-origin request is trusted, faulty validation logic in it allows a request whose Origin does not match the application's allowlist to be treated as legitimate, including when the browser automatically attaches the victim's cookies (cross-domain authenticated request). The CPE designation cpe:2.3:a:github.com/antono:connect-cors:*:*:*:*:*:*:*:* ties the affected component to the antono connect-cors package lineage with an unconstrained version wildcard, indicating all released versions of the middleware as distributed are considered affected; note that the advisory text refers to the package as connect-xcors while the CPE uses connect-cors, so both names should be treated as referring to the same middleware family. The assessed CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N) confirms the attacker needs no credentials on the server side and that the exploit chain depends on a victim's active session plus passive user interaction, with no scope change and no availability impact.
Know when npm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable origin bypass needing a victim to load attacker content (UI:R) and no attacker auth (PR:N); impact limited to Low confidentiality and integrity, no availability.
Primary rating from Vendor (TCS-CERT).
CVSS VectorVendor: TCS-CERT
DescriptionCVE.org
An Origin Validation Error in the middleware of the connect-xcors npm package allows an attacker to bypass origin verification and perform a cross domain authenticated request.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
The npm ci command in npm 7.x and 8.x through 8.1.3 proceeds with an installation even if dependency information in pack
DNS rebinding against the local Streamable HTTP MCP listener in @zereight/mcp-gitlab before 2.1.30 lets a malicious web
Archive extraction in the Node.js decompress package allows a crafted archive containing chained symlink entries to reso
The legacy DOC renderer in File Viewer emits document-controlled hyperlink targets into generated HTML after character e
Untrusted git configuration includes reachable through simple-git before 4.0.0 let an attacker execute arbitrary command
A remote, unauthenticated denial-of-service condition in the NestJS (Nest) microservices framework lets an attacker cras
Deeply nested brace patterns cause unbounded recursion in the npm brace-expansion library, exhausting the native stack a
Stack exhaustion in the npm library brace-expansion (all versions prior to 1.1.19, 2.1.5, 3.0.7, and 5.0.10) lets a craf
The JavaScript library ip-address (npm) fails to treat the NAT64 local-use prefix 64:ff9b:1::/48 as private, so applicat
Cross-family subnet comparisons in the ip-address npm library (all versions before 10.7.1) can cause isInSubnet and isHo
Denial of service in the ip-address JavaScript/npm library (all versions prior to 10.7.1) lets remote attackers stall or
A credential-isolation flaw in geelen mcp-remote 0.1.16 through 0.1.38 allows a remote attacker who controls or can pred
EUVD-2026-88239
GHSA-8f76-923c-xvfq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB