6.1medium
NocoDB: Reflected Cross-Site Scripting via Page Leaving Redirect URL
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.16% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-9qgr-6vpg-9gh9
Description
NocoDB is software for building databases as spreadsheets. Prior to 2026.04.1, 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. This vulnerability is fixed in 2026.04.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nocodb nocodb | < 2026.04.1 | CVE List |
| nocodb (npm) | up to 0.301.3 | GitHub Advisory Database |
All scores
| GitHub_M | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
NocoDB is software for building databases as spreadsheets. Prior to 2026.04.1, 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. This vulnerability is fixed in 2026.04.1.
GitHub Advisory Database
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-46547 changed 2026-06-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9qgr-6vpg-9gh9 changed 2026-07-20 | CC-BY-4.0 |
| NVD | CVE-2026-46547 changed 2026-06-25 | Public domain |