Executive brief
NocoDB is an open-source platform that turns databases into smart spreadsheets. A security flaw allows users with 'editor' permissions to embed malicious scripts into form redirect links. If another user clicks this link and submits the form, the attacker can steal their login session token and perform actions on their behalf, potentially compromising sensitive database information.
Technical details
A stored Cross-Site Scripting (XSS) vulnerability exists in NocoDB's shared form-view submit handler within 'useSharedFormViewStore.ts'. The application fails to validate the URL scheme of the 'redirect_url' parameter, checking only if the host matches. An attacker with 'editor' privileges can inject a 'javascript:' URI into the redirect field. When a victim visits the shared form and submits it, the malicious script executes in the context of the NocoDB origin. This allows the attacker to access the victim's session token stored in 'localStorage' and perform authenticated API calls. The issue is resolved in version 2026.05.1.
Affected products
- NocoDB NocoDB < 2026.05.1
Timeline
- 2026-06-04: advisory: GitHub Security Advisory published
- 2026-06-23: disclosed: CVE published to NVD
- 2026-05-01: patched: Fixed in version 2026.05.1