{"id":"CVE-2026-28398","aliases":["CVE-2026-28398","GHSA-8vm4-g489-v3w7"],"related":[],"kind":"vulnerability","state":"published","title":"NocoDB: Stored Cross-Site Scripting via Comments and Rich Text Cells","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-03-02T16:19:23.356Z","modified":"2026-06-17T10:28:33.010Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 0.301.3","status":"affected"}],"vendor":"nocodb","product":"nocodb","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.301.3"}],"ecosystem":"npm","package":"nocodb","purl":"pkg:npm/nocodb","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.301.3"}],"vendor":"nocodb","product":"nocodb","cpe":"cpe:2.3:a:nocodb:nocodb:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-8vm4-g489-v3w7","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nocodb/nocodb/releases/tag/0.301.3","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28398","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nocodb/nocodb","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-03T15:55:22.343Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-28398","url":"https://www.cve.org/CVERecord?id=CVE-2026-28398","licence":"CVE Terms of Use","modified":"2026-03-03T15:55:30.946Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8vm4-g489-v3w7","url":"https://github.com/advisories/GHSA-8vm4-g489-v3w7","licence":"CC-BY-4.0","modified":"2026-03-04T15:12:47.606Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-28398","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28398","licence":"Public domain","modified":"2026-06-17T10:28:33.010Z"}],"updatedAt":"2026-11-25T22:59:15.099Z","epss":{"score":0.00308,"percentile":0.16089,"date":"2026-11-30T12:00:22.000Z"}}