{"id":"GHSA-8vm4-g489-v3w7","summary":"NocoDB Vulnerable to Stored Cross-Site Scripting via Comments and Rich Text Cells","details":"### Summary\nUser-controlled content in comments and rich text cells was rendered via `v-html` without sanitization, enabling stored XSS.\n\n### Details\nComments 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()`.\n\nCommenter role is sufficient for the comments vector; Editor role for rich text.\n\nThis 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.\n\n### Impact\nStored XSS — malicious scripts execute for any user viewing the comment or cell.\n\n### Credit\nThis issue was reported by [@bugbunny-research](https://github.com/bugbunny-research) (bugbunny.ai).","aliases":["CVE-2026-28398"],"modified":"2026-03-04T15:12:47.606592Z","published":"2026-03-03T20:58:44Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-03-03T20:58:44Z","nvd_published_at":"2026-03-02T17:16:34Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-8vm4-g489-v3w7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28398"},{"type":"PACKAGE","url":"https://github.com/nocodb/nocodb"},{"type":"WEB","url":"https://github.com/nocodb/nocodb/releases/tag/0.301.3"}],"affected":[{"package":{"name":"nocodb","ecosystem":"npm","purl":"pkg:npm/nocodb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.301.3"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.301.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-8vm4-g489-v3w7/GHSA-8vm4-g489-v3w7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}