{"id":"GHSA-rcph-x7mj-54mm","summary":"NocoDB Vulnerable to Stored Cross-site Scripting via Comments","details":"### Summary\nComments rendered via `v-html` without sanitization, enabling stored XSS.\n\n### Details\nComments in `Comments.vue` were parsed by markdown-it with `html: true` and injected via `v-html` without DOMPurify. A user with Commenter role can inject arbitrary HTML that executes for all viewers.\n\n### Impact\nStored XSS — malicious scripts execute for any user viewing the comment.\n\n### Credit\nThis issue was discovered by an AI agent developed by the GitHub Security Lab and reviewed by GHSL team members [@p-](https://github.com/p-) (Peter Stockli) and [@m-y-mo](https://github.com/m-y-mo) (Man Yue Mo).","aliases":["CVE-2026-28397"],"modified":"2026-03-04T15:16:25.243721Z","published":"2026-03-03T20:59:38Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-03-03T20:59:38Z","nvd_published_at":"2026-03-02T17:16:34Z","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-rcph-x7mj-54mm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28397"},{"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":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-rcph-x7mj-54mm/GHSA-rcph-x7mj-54mm.json","last_known_affected_version_range":"\u003c= 0.301.2"}}],"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"}]}