{"id":"GHSA-vx5p-q85x-xm3c","summary":"NocoDB has Stored Cross-site Scripting via Formula Cell","details":"### Summary\nA 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.\n\n### Details\nThe `replaceUrlsWithLink()` function in `urlUtils.ts` converts `URI::(url)` patterns to `\u003ca\u003e` 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)\", \"\u003cimg src=x onerror=...\u003e\")` to inject arbitrary scripts rendered for all viewers.\n\n### Impact\nCredential theft via script execution in the context of users viewing the table.\n\n### Credit\nThis issue was reported by [@Akokonunes](https://github.com/Akokonunes).","aliases":["CVE-2026-28357"],"modified":"2026-03-04T15:17:37.773604Z","published":"2026-03-02T19:36:29Z","database_specific":{"github_reviewed_at":"2026-03-02T19:36:29Z","nvd_published_at":"2026-03-02T17:16:33Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-vx5p-q85x-xm3c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28357"},{"type":"PACKAGE","url":"https://github.com/nocodb/nocodb"},{"type":"WEB","url":"https://github.com/nocodb/nocodb/releases/tag/0.301.3"}],"affected":[{"package":{"name":"nocodb","ecosystem":"npm","purl":"pkg:npm/nocodb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.301.3"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.301.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-vx5p-q85x-xm3c/GHSA-vx5p-q85x-xm3c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}