---
id: CVE-2026-47119
title: Agent Zero < 1.15 Stored XSS via image_get API Endpoint
summary: >-
  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-S…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: agent0ai
product: agent-zero
affected:
  - agent-zero < 1.15
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-05-27T16:11:36.884899Z'
published: '2026-05-27'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T21:15:41.939Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-47119'
references:
  - url: 'https://github.com/agent0ai/agent-zero/issues/1609'
  - url: >-
      https://github.com/3clyp50/agent-zero/commit/1f2d5122265282d6b98bc36ee8f9d0f8ab76db9e
  - url: >-
      https://www.vulncheck.com/advisories/agent-zero-stored-xss-via-image-get-api-endpoint
tags:
  - cve.org
epss: 0.00236
epssPercentile: 0.14599
ingestedAt: '2026-11-03T08:39:35.553Z'
---

## Overview

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

- `agent-zero < 1.15`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
