CVE-2026-46547: NocoDB Cross-Site Scripting Vulnerability
MODERATECVE-2026-46547 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting NocoDB libraries in the npm ecosystem. The issue involves reflected cross-site scripting via page leaving redirect url. Remediation is available in the latest vendor maintenance releases.
CVE-2026-46547 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2026-46547
To remediate this vulnerability, upgrade all affected NocoDB dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install nocodb@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls nocodb
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-46547, inspect your project dependencies using npm:
npm ls nocodb
Analyze the terminal output to locate any version of NocoDB in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls nocodb command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In NocoDB, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-46547 Affected NocoDB Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nocodb
|
npm |
≤ 0.301.3
|
|
References
Frequently Asked Questions
What is CVE-2026-46547?
Which NocoDB versions are affected?
What version fixes CVE-2026-46547?
Is nocodb affected?
What is the CVSS score of CVE-2026-46547?
What CWE is associated with CVE-2026-46547?
How can I check npm dependencies for CVE-2026-46547?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9qgr-6vpg-9gh9",
"modified" : "2026-07-20T21:15:31Z",
"published" : "2026-05-21T20:34:09Z",
"aliases" : [ "CVE-2026-46547" ],
"summary" : "NocoDB: Reflected Cross-Site Scripting via Page Leaving Redirect URL",
"details" : "### Summary\nA 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.\n\n### Details\n`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.\n\n### Impact\nAn attacker can execute arbitrary JavaScript in the context of the NocoDB application by sending a crafted link to a victim. No authentication is required.\n\n### Credit\nThis issue was reported by [@naoyashiga](https://github.com/naoyashiga).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "nocodb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.301.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nocodb/nocodb/security/advisories/GHSA-9qgr-6vpg-9gh9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-46547"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nocodb/nocodb"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-21T20:34:09Z",
"nvd_published_at" : "2026-06-23T21:16:57Z"
}
}