GitHub Advisoryadvisory · npm
GHSA-rcph-x7mj-54mm NocoDB Vulnerable to Stored Cross-site Scripting via Comments
MEDIUM
Official page ↗
- Aliases
- CVE-2026-28397
- Ecosystem
- npm
- Packages
- nocodb
- Severity
- Moderate
- CVSS 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
- Weaknesses
- CWE-79
- Reviewed
- 2026-03-03
Affected packages
• npm nocodb: < 0.301.3 → fixed in 0.301.3
Description
Summary
Comments rendered via `v-html` without sanitization, enabling stored XSS.
Details
Comments 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.
Impact
Stored XSS — malicious scripts execute for any user viewing the comment.
Credit
This issue was discovered by an AI agent developed by the GitHub Security Lab and reviewed by GHSL team members @p- (Peter Stockli) and @m-y-mo (Man Yue Mo).
Related
Alias · CVE (1)
- CVE-2026-28397 NocoDB is software for building databases as spreadsheets. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness