CVE-2026-47119 Agent Zero < 1.15 Stored XSS via image_get API Endpoint
Attackers can execute arbitrary JavaScript via crafted SVG files served through the image_get endpoint, stealing cookies and performing unauthorized actions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-47119?
CVE-2026-47119 is a medium-severity cross-site scripting vulnerability in agent0ai agent-zero, published on 27 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2026-47119?
How do I fix CVE-2026-47119?
No fix has been published for CVE-2026-47119 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-47119 being exploited?
There is no known exploitation of CVE-2026-47119 in the wild and no public exploit code.
Sources
Also known as GHSA-9pw8-7895-6wxc.