Description
Cheshire Cat AI core through 2.0.23 contains a stored cross-site scripting vulnerability in the uploads plugin that allows authenticated users to upload HTML files via POST /uploads without type restrictions. Attackers can send the public GET /uploads/{path} URL to a signed-in victim, executing script in the application origin with the victim's access_token cookie, including administrators.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cheshire-cat-ai | core | ≤ 2.0.23 | — |
References
- https://hackmd.io/@haind03/cheshire-cat-uploads-stored-html-same-origin-xss third-party-advisory
- https://github.com/cheshire-cat-ai/core/blob/c22731e7009ac89835b1d7b1cabc5989d998ec3e/src/cat/scaffold/plugins/uploads/endpoints.py#L28-L96 technical-description
- https://github.com/cheshire-cat-ai/core product
- VulnCheck Advisory: Cheshire Cat AI core through 2.0.23 Stored XSS via uploads plugin third-party-advisory