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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
cheshire-cat-ai core
Default version status: unaffected
0 to ≤ 2.0.23affected
pkg:github/cheshire-cat-ai/coreReferences
- https://hackmd.io/@haind03/cheshire-cat-uploads-stored-html-same-origin-xss ↗
- https://github.com/cheshire-cat-ai/core/blob/c22731e7009ac89835b1d7b1cabc5989d998ec3e/src/cat/scaffold/plugins/uploads/endpoints.py#L28-L96 ↗
- https://github.com/cheshire-cat-ai/core ↗
- https://www.vulncheck.com/advisories/cheshire-cat-ai-core-through-2.0.23-stored-xss-via-uploads-plugin ↗