GitHub Advisoryadvisory · npm

GHSA-vx5p-q85x-xm3c NocoDB has Stored Cross-site Scripting via Formula Cell

MEDIUM Published 2026-03-02 Modified 2026-03-02 Official page ↗
Aliases
CVE-2026-28357
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-02

Affected packages

• npm nocodb: < 0.301.3 → fixed in 0.301.3

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 `` 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)", "")` 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.

Related

Alias · CVE (1)

  • CVE-2026-28357 NocoDB is software for building databases as spreadsheets. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References