Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify NocoDB instance and craft javascript: URI payload
-
DeliveryEmbed payload in ncRedirectUrl or ncBackUrl query parameter
-
ExploitDeliver crafted URL to victim via phishing or chat
-
InstallVictim clicks link, PageLeavingWarning.vue renders
-
C2isSameOriginUrl() returns false, raw URI assigned to window.location.href
-
ExecuteArbitrary JavaScript executes in NocoDB browser context
-
ImpactExfiltrate session cookies or perform authenticated actions as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the victim clicks an attacker-controlled link targeting a NocoDB instance with crafted |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) scores this at 6.1 Medium. Key signals: network-reachable with no authentication and low complexity, but requiring victim interaction (UI:R) - the victim must click a crafted link. The Changed Scope (S:C) reflects that execution occurs in the NocoDB browser context, enabling access to session tokens, cookies, and same-origin resources beyond the immediate page. No EPSS data was provided in the intelligence feed, so quantitative exploitation probability cannot be assessed. This CVE is not listed in CISA KEV, and no confirmed public exploit code was identified - risk of opportunistic mass exploitation is therefore lower than the advisory detail alone might suggest. However, the absence of any fixed version (advisory lists 'fixed in: None') is a material risk amplifier: all deployed NocoDB instances on npm <= 0.301.3 have no vendor-supplied remediation path. Internet-exposed NocoDB deployments accessible to external or untrusted users carry the highest realistic risk given the social-engineering delivery requirement. |
| Exploit ScenarioDerived | An attacker identifies a publicly accessible NocoDB instance and crafts a URL of the form |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 21, 2026
Reflected XSS in NocoDB's Page Leaving Warning component allows unauthenticated remote attackers to execute arbitrary JavaScript in a victim's browser by delivering a crafted URL containing a javascript: URI in the ncRedirectUrl or ncBackUrl query parameters. All NocoDB npm releases up to and including version 0.301.3 are affected, and no vendor-released patch has been identified at time of analysis. No active exploitation has been confirmed (not in CISA KEV), but the GitHub Security Advisory provides sufficient technical specificity - including the exact vulnerable file and parameter names - to enable independent POC development.
RemediationAI
No vendor-released patch has been identified at time of analysis - the GitHub Advisory GHSA-9qgr-6vpg-9gh9 (https://github.com/nocodb/nocodb/security/advisories/GHSA-9qgr-6vpg-9gh9) lists no fixed version for npm/nocodb <= 0.301.3. Organizations should monitor that advisory and the NocoDB GitHub repository for a patched release and upgrade immediately upon availability. As compensating controls: (1) Restrict NocoDB access to trusted internal networks or authenticated VPN sessions, which eliminates the primary attack-delivery surface (external phishing of crafted links) - trade-off is reduced accessibility for remote workers. (2) Deploy a Content Security Policy (CSP) header via reverse proxy or web server that includes default-src 'self' and disallows javascript: URI navigation (e.g., navigate-to 'self' or blocking via script-src); note that aggressive CSP may interfere with NocoDB's legitimate use of inline scripts and should be tested against application functionality before production enforcement. (3) If NocoDB is embedded behind an authenticated SSO or proxy layer, ensure users cannot receive and follow external deep-links to the NocoDB origin without re-authentication, reducing phishing effectiveness. Source-level mitigation for teams self-hosting from source: add javascript: URI scheme validation to isSameOriginUrl() in PageLeavingWarning.vue and reject any URL whose scheme is not http or https before assignment to window.location.href or <a href>.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NocoDB is an open-source no-code database platform distributed as an npm package (pkg:npm/nocodb) built on Vue.js. The vulnerability resides in PageLeavingWarning.vue, a Vue Router component rendered when users attempt to navigate away from pages with unsaved changes. The component reads ncRedirectUrl and ncBackUrl directly from the route query object without sanitization or allowlist validation. A same-origin guard (isSameOriginUrl()) is present but does not block javascript: URIs - because they are not same-origin, the check returns false, and the code path assigns the raw attacker-controlled value to window.location.href and binds it as an <a> tag href, both of which browsers treat as executable JavaScript. CWE-79 (Improper Neutralization of Input During Web Page Generation) classifies the root cause as failure to neutralize user-controlled input before reflecting it into a JavaScript execution sink.
Know when the next one hits your stack
- 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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from Vendor (https://github.com/nocodb/nocodb) · only source for this CVE.
CVSS VectorVendor: https://github.com/nocodb/nocodb
Lifecycle Timeline
1DescriptionCVE.org
Summary
A reflected XSS vulnerability exists in the Page Leaving Warning page. The ncRedirectUrl and ncBackUrl query parameters are used in window.location.href and <a> tag bindings without validation, allowing javascript: URI injection.
Details
PageLeavingWarning.vue reads ncRedirectUrl and ncBackUrl directly from the route query without validation. When isSameOriginUrl() returns false (as it does for javascript: URIs), the raw URL is assigned to window.location.href, executing arbitrary JavaScript. The redirect URL is also bound directly to an <a> tag's href attribute.
Impact
An attacker can execute arbitrary JavaScript in the context of the NocoDB application by sending a crafted link to a victim. No authentication is required.
Credit
This issue was reported by @naoyashiga.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-38588
GHSA-9qgr-6vpg-9gh9
NVD
CVE.org
EPSS
VulDB
Exploit-DB