{"cve":"CVE-2026-47387","nvd":{"published":"2026-06-23T21:17:00.743","modified":"2026-06-25T14:21:00.260","status":"Deferred","description":"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.","cvss_v4":{"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","score":8.4},"cvss_v3":null,"cwes":["CWE-79"],"references":["https://github.com/nocodb/nocodb/security/advisories/GHSA-hj85-ph9q-78jg"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:41:17.107060303+00:00"},"epss":{"cve":"CVE-2026-47387","score":0.00396,"percentile":0.33854,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hj85-ph9q-78jg","url":"https://osv.dev/vulnerability/GHSA-hj85-ph9q-78jg","summary":"NocoDB: Stored Cross-Site Scripting via Form View Redirect URL","modified":"2026-07-20T21:30:39.726401045Z","packages":[{"ecosystem":"npm","name":"nocodb","purl":"pkg:npm/nocodb","ranges":["<2026.05.1"],"fixed":["2026.05.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}