5.3medium
NocoDB: Stored Cross-Site Scripting via Comments and Rich Text Cells
- Severity
- 5.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.31% (higher than 16% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-8vm4-g489-v3w7
Description
NocoDB is software for building databases as spreadsheets. Prior to version 0.301.3, user-controlled content in comments and rich text cells was rendered via v-html without sanitization, enabling stored XSS. 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, user-controlled content in comments and rich text cells was rendered via v-html without sanitization, enabling stored XSS. This issue has been patched in version 0.301.3.
GitHub Advisory Database
Summary
User-controlled content in comments and rich text cells was rendered via v-html without sanitization, enabling stored XSS.
Details
Comments in Comments.vue and rich text in TextArea.vue were parsed by markdown-it with html: true and injected via v-html. The codebase had vue-dompurify-html available but these paths used raw v-html. Server-side, Comment.insert() used extractProps() instead of extractPropsAndSanitize().
Commenter role is sufficient for the comments vector; Editor role for rich text.
This issue was independently reported; see also GHSA-rcph-x7mj-54mm and GHSA-wwp2-x4rj-j8rm for the same root cause found by GitHub Security Lab.
Impact
Stored XSS — malicious scripts execute for any user viewing the comment or cell.
Credit
This issue was reported by @bugbunny-research (bugbunny.ai).
NVD (es)
NocoDB es un software para construir bases de datos como hojas de cálculo. Antes de la versión 0.301.3, el contenido controlado por el usuario en comentarios y celdas de texto enriquecido se renderizaba a través de v-html sin sanitización, lo que permitía XSS almacenado. Este problema ha sido parcheado en la versión 0.301.3.
References
| https://github.com/nocodb/nocodb/security/advisories/GHSA-8vm4-g489-v3w7 | 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-28398 | advisory | |
| https://github.com/nocodb/nocodb | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-28398 changed 2026-03-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8vm4-g489-v3w7 changed 2026-03-04 | CC-BY-4.0 |
| NVD | CVE-2026-28398 changed 2026-06-17 | Public domain |