All reports
Medium

NocoDB has Stored Cross-site Scripting via Formula Cell

Affected versions

Affected versions
<= 0.301.2
Fixed version
0.301.3

Exploitation

CVE-2026-28357

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-22

Description

Summary

A stored XSS vulnerability exists in the Formula virtual cell. Formula results containing URI::() patterns are rendered via v-html without sanitization, allowing injected HTML to execute.

Details

The replaceUrlsWithLink() function in urlUtils.ts converts URI::(url) patterns to <a> tags but passes all other HTML through unchanged. A user with Creator role (minimum role for formula field creation) can craft a formula like CONCAT("URI::(https://example.com)", "<img src=x onerror=...>") to inject arbitrary scripts rendered for all viewers.

Impact

Credential theft via script execution in the context of users viewing the table.

Credit

This issue was reported by @Akokonunes.

Links

Credits

  • Akokonunes
  • neo-ai-engineer