CVE-2026-28398
JSON

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 packageVersionsReported by
nocodb nocodb< 0.301.3, before 0.301.3CVE List, NVD
nocodb (npm)before 0.301.3GitHub Advisory Database

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

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

Sources

SourceRecordLicence
CVE ListCVE-2026-28398 changed 2026-03-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-8vm4-g489-v3w7 changed 2026-03-04CC-BY-4.0
NVDCVE-2026-28398 changed 2026-06-17Public domain