GHSA-638G-XW92-XQ9X
Stored Cross-Site Scripting via Table Deletion Dialog
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-638G-XW92-XQ9X divulgada · CVSS 8.7 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
The table deletion confirmation dialog interpolated user-controlled column and table titles into an HTML string and rendered it through an `innerHTML` binding, so a title containing markup executed script for a user who confirmed the deletion of a table on an external data source.
Details
`Delete.vue` built one dependency line per blocking link column by interpolating the column's title and the related table's title into a template string, joined the lines and rendered the result as a VNode created with `h('div', { innerHTML })`. The message was built only after the user confirmed the deletion, and only for tables on an external (non-meta) source that still had link columns pointing at them. Vue does not escape the content of an `innerHTML` binding, and the project's `v-dompurify-html` directive only covers template directives — it does not intercept programmatic `h()` calls — so the raw titles reached the DOM as markup. The older delete-confirm flow in `useTableNew.ts` composed the same message. Server-side, column titles are only trimmed and a table's display title is not sanitized at all, as `tables.service.ts` passes only `table_name` through DOMPurify, so any user able to create a LinkToAnotherRecord column could persist the payload.
Impact
Same-origin script execution in the browser of a user who confirms the deletion of such a table, an action that requires the base Creator role or above and so typically falls to base owners and administrators. The payload runs in the NocoDB origin and can read the session token from browser storage under `localStorage["nocodb-gui-v2"]`, letting an attacker act as the victim through the authenticated API and exfiltrate the data that victim can reach. Storing the payload requires an authenticated session with permission to create columns, that is a base Creator role.
Credit
This issue was reported by @cy3erm https://github.com/cy3erm.
Desglose de métricas
Estado del parche por paquete
La fuente no informa paquetes ni versiones corregidas.
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/nocodb/nocodb/security/advisories/GHSA-638g-xw92-xq9xLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
