Description (CNA)
Agent Zero before version 1.15 contains a stored cross-site scripting vulnerability that allows attackers to execute arbitrary JavaScript in the application origin by serving SVG files through the image_get API endpoint without Content-Security-Policy, X-Content-Type-Options, or Content-Disposition headers. Attackers can place a crafted SVG file containing script tags in any path readable by the agent-zero process and lure an authenticated user to the image_get endpoint, causing the browser to execute the malicious script, steal the csrf_token cookie, and perform unauthorized API calls on behalf of the victim.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| 3clyp50 / agent-zero | affected 0 before 1.15 |
CWE
CWE-79
References
- https://github.com/agent0ai/agent-zero/issues/1609
- https://github.com/3clyp50/agent-zero/commit/1f2d5122265282d6b98bc36ee8f9d0f8ab76db9e
- https://www.vulncheck.com/advisories/agent-zero-stored-xss-via-image-get-api-endpoint
ADP enrichment
No English description supplied.
No references supplied.