5.3medium
NocoDB: Stored Cross-Site Scripting via Formula Cell
- Severity
- 5.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.17% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vx5p-q85x-xm3c
Description
NocoDB is software for building databases as spreadsheets. Prior to version 0.301.3, a stored XSS vulnerability exists in the Formula virtual cell. Formula results containing URI::() patterns are rendered via v-html without sanitization, allowing injected HTML to execute. This issue has been patched in version 0.301.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nocodb nocodb | < 0.301.3, before 0.301.3 | CVE List, NVD |
| nocodb (npm) | before 0.301.3 | GitHub Advisory Database |
All scores
| GitHub_M | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
NocoDB is software for building databases as spreadsheets. Prior to version 0.301.3, a stored XSS vulnerability exists in the Formula virtual cell. Formula results containing URI::() patterns are rendered via v-html without sanitization, allowing injected HTML to execute. This issue has been patched in version 0.301.3.
GitHub Advisory Database
Summary
A stored XSS vulnerability exists in the Formula virtual cell. Formula results containing URI::() patterns are rendered via v-html without sanitization, allowing injected HTML to execute.
Details
The replaceUrlsWithLink() function in urlUtils.ts converts URI::(url) patterns to <a> tags but passes all other HTML through unchanged. A user with Creator role (minimum role for formula field creation) can craft a formula like CONCAT("URI::(https://example.com)", "<img src=x onerror=...>") to inject arbitrary scripts rendered for all viewers.
Impact
Credential theft via script execution in the context of users viewing the table.
Credit
This issue was reported by @Akokonunes.
NVD (es)
NocoDB es un software para construir bases de datos como hojas de cálculo. Antes de la versión 0.301.3, existe una vulnerabilidad XSS almacenada en la celda virtual Formula. Los resultados de Formula que contienen patrones URI::() se renderizan a través de v-html sin sanitización, permitiendo que el HTML inyectado se ejecute. Este problema ha sido parcheado en la versión 0.301.3.
References
| https://github.com/nocodb/nocodb/security/advisories/GHSA-vx5p-q85x-xm3c | vendor-advisory, web | |
| https://github.com/nocodb/nocodb/releases/tag/0.301.3 | product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-28357 | advisory | |
| https://github.com/nocodb/nocodb | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-28357 changed 2026-03-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vx5p-q85x-xm3c changed 2026-03-04 | CC-BY-4.0 |
| NVD | CVE-2026-28357 changed 2026-06-17 | Public domain |