Advisory

GHSA-8vm4-g489-v3w7

Also known as: CVE-2026-28398

Summary

NocoDB Vulnerable to Stored Cross-Site Scripting via Comments and Rich Text Cells

Details

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).

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-03 20:58 UTC
Modified
2026-03-04 15:12 UTC

Affected packages and fixes

nocodb

npm · All systems

Affected

  • introduced 0, fixed 0.301.3 (semver)

Fixed versions

0.301.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences