{"id":"CVE-2026-46547","aliases":["CVE-2026-46547","GHSA-9qgr-6vpg-9gh9"],"related":[],"kind":"vulnerability","state":"published","title":"NocoDB: Reflected Cross-Site Scripting via Page Leaving Redirect URL","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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).","format":"markdown","source":"ghsa"}],"published":"2026-05-21T20:34:09.000Z","modified":"2026-07-20T21:30:36.290Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2026.04.1","status":"affected"}],"vendor":"nocodb","product":"nocodb","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.301.3"}],"ecosystem":"npm","package":"nocodb","purl":"pkg:npm/nocodb","source":"ghsa"}],"references":[{"url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-9qgr-6vpg-9gh9","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46547","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nocodb/nocodb","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-25T12:50:08.621Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46547","url":"https://www.cve.org/CVERecord?id=CVE-2026-46547","licence":"CVE Terms of Use","modified":"2026-06-25T12:50:35.771Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9qgr-6vpg-9gh9","url":"https://github.com/advisories/GHSA-9qgr-6vpg-9gh9","licence":"CC-BY-4.0","modified":"2026-07-20T21:30:36.290Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46547","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46547","licence":"Public domain","modified":"2026-06-25T14:21:00.260Z"}],"updatedAt":"2026-11-25T22:59:25.537Z","epss":{"score":0.00156,"percentile":0.04971,"date":"2026-12-01T12:00:22.000Z"}}