CVE-2026-28397: NocoDB: Stored Cross-Site Scripting via Comments

Published Mar 2, 2026
·
Updated

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

Other sources

NocoDB is software for building databases as spreadsheets. Prior to version 0.301.3, comments rendered via v-html without sanitization enable stored XSS. This issue has been patched in version 0.301.3.

— MITRE

Affected Software

3 affected componentsFixes available
NocoDB<0.301.3
NocoDB NocoDB<0.301.3
npm/nocodb<=0.301.2
0.301.3

Event History

Mar 2, 2026
CVE Published
via MITRE·04:19 PM
Data Sourced
via MITRE·04:19 PM
DescriptionWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeaknessAffected Software
Mar 3, 2026
Advisory Published
via GitHub·08:59 PM
Data Sourced
via GitHub·08:59 PM
DescriptionWeaknessAffected Software
Mar 23, 58145
Event
via FIRST·10:25 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-28397?

CVE-2026-28397 is classified as a high severity vulnerability due to its potential for stored cross-site scripting (XSS).

2

How do I fix CVE-2026-28397?

To fix CVE-2026-28397, upgrade NocoDB to version 0.301.3 or later where the vulnerability has been addressed.

3

Who is affected by CVE-2026-28397?

CVE-2026-28397 affects NocoDB versions up to 0.301.2, specifically impacting users with the Commenter role.

4

What types of attacks are possible with CVE-2026-28397?

CVE-2026-28397 allows an attacker to execute malicious scripts in the context of a user's browser session, leading to potential data theft or session hijacking.

5

What specific component of NocoDB is vulnerable in CVE-2026-28397?

The vulnerability in CVE-2026-28397 exists in the Comments.vue component, where comments are rendered using untrusted content via v-html.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203