PT-2026-47085 · Git+2 · Nocodb

·

CVE-2026-47387

·

Published

2026-06-05

·

Updated

2026-06-25

CVSS v4.0

8.4

High

VectorAV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions NocoDB versions prior to 2026.05.1
Description The shared form-view submit handler in packages/nc-gui/composables/useSharedFormViewStore.ts fails to validate the URL scheme when writing the redirect url to window.location.href. While a same-host check is performed, non-network schemes such as javascript:, data:, vbscript:, and file: result in an empty host string, causing the application to treat the URL as an external redirect and execute it within the NocoDB origin. A user with an editor role or higher can inject a javascript: URL into the redirect url via the form-view PATCH endpoint. When an authenticated viewer submits the form through a shared link, the payload executes, allowing the attacker to read the session token from localStorage["nocodb-gui-v2"] and perform actions using the viewer's identity.
Recommendations Update to version 2026.05.1. As a temporary workaround, restrict users with the editor role from modifying the redirect url in form views until the update is applied.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-47387
GHSA-HJ85-PH9Q-78JG

Affected Products

Nocodb