VDB
EN
MEDIUM

GHSA-vx5p-q85x-xm3c

NocoDB has Stored Cross-site Scripting via Formula Cell

상세

### 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](https://github.com/Akokonunes).

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

npm / nocodb
최초 영향 버전: 0 수정 버전: 0.301.3
수정 npm install nocodb@0.301.3

참고