CVE-2026-47387 NocoDB: Stored Cross-Site Scripting via Form View Redirect URL
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm nocodb(npm) | < 2026.05.1; <= 2026.05.0 | 2026.05.1 | Fixed |
| nocodb | = < 2026.05.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nocodb | = < 2026.05.1 | No fix listed |
| npm nocodb(npm) | <= 2026.05.0 | No fix listed |
| npm nocodb(npm) | < 2026.05.1 | 2026.05.1 |
References
- https://github.com/nocodb/nocodb/security/advisories/GHSA-hj85-ph9q-78jg vendor-advisory
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product