{"id":"CVE-2026-47387","published":"2026-06-23T20:11:02Z","modified":"2026-06-24T13:51:42Z","title":"NocoDB: Stored Cross-Site Scripting via Form View Redirect URL","vendor":"nocodb","product":"nocodb","tier":"tail","description":{"text":"NocoDB is software for building databases as spreadsheets. Prior to 2026.05.1, the shared form-view submit handler (packages/nc-gui/composables/useSharedFormViewStore.ts) in NocoDB writes the form's redirect_url to window.location.href after a same-host check that does not validate the URL scheme. A user with editor role (or above) on any base can plant a javascript: URL in the form's redirect_url; when an authenticated viewer opens the share-link and submits the form, the payload executes in the NocoDB origin and can read the session token from localStorage[\"nocodb-gui-v2\"]. This vulnerability is fixed in 2026.05.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00396,"percentile":0.34715,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-hj85-ph9q-78jg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":6.94},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"nocodb","affectedVersions":[{"vendor":"nocodb","product":"nocodb","versions":["< 2026.05.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-24T13:50:33.199771Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"nocodb","vulnerableRanges":["<2026.05.1"],"patched":["2026.05.1"],"from":["GHSA-hj85-ph9q-78jg"],"provenance":"source"}],"summary":{"text":"NocoDB's shared form-view submit handler (in packages/nc-gui/composables/useSharedFormViewStore.ts) writes a form's redirect_url to window.location.href after a same-host check that does not validate the URL scheme, enabling stored cross-site scripting. An attacker with editor role or above on any base can plant a javascript: redirect URL that executes in the NocoDB origin when an authenticated viewer opens the share link and submits the form, which allows reading the session token from localStorage; the attack requires the victim's user interaction and affects versions prior to 2026.05.1.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:47Z"},"euvd":{"id":"EUVD-2026-38612","exploited":false,"provenance":"source"}}