Description
NocoBase fails to sanitize rich text field values in the read renderer, allowing users with create permissions to store malicious HTML with event handlers. Attackers can write arbitrary markup through the collection API that executes in the browsers of all users viewing the affected record.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nocobase | nocobase | ≤ 2.2.5 | — |
References
- https://github.com/nocobase/nocobase product
- https://github.com/nocobase/nocobase/issues/10416 issue-tracking
- https://github.com/nocobase/nocobase/blob/v2.2.5/packages/core/client/src/schema-component/antd/input/ReadPretty.tsx technical-description
- VulnCheck Advisory: NocoBase Rich Text Field Stored Cross-Site Scripting via API third-party-advisory