# CVE-2026-47387: NocoDB: Stored Cross-Site Scripting via Form View Redirect URL

- Severity: High 8.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-06-05T16:20:44.000Z
- Modified: 2026-07-20T21:30:39.726Z
- Also known as: GHSA-hj85-ph9q-78jg
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nocodb nocodb: < 2026.05.1
- nocodb (npm): before 2026.05.1

## Every score

- GitHub_M: CVSS:4.0 8.4 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/nocodb/nocodb/security/advisories/GHSA-hj85-ph9q-78jg> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47387> (advisory)
- <https://github.com/nocodb/nocodb> (package)
- <https://github.com/nocodb/nocodb/releases/tag/2026.05.1> (web)

## Sources

- CVE List: [CVE-2026-47387](https://www.cve.org/CVERecord?id=CVE-2026-47387), CVE Terms of Use, modified 2026-06-24
- GitHub Advisory Database: [GHSA-hj85-ph9q-78jg](https://github.com/advisories/GHSA-hj85-ph9q-78jg), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-47387](https://nvd.nist.gov/vuln/detail/CVE-2026-47387), Public domain, modified 2026-06-25

---

Page: https://cve.day/CVE-2026-47387 · Whole record: https://cve.day/CVE-2026-47387.json · Rebuilt by cve.day 2026-11-25T22:59:25.544Z
