CVE-2026-47119

Agent Zero < 1.15 Stored XSS via image_get API Endpoint

Published May 27, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Agent Zero version 1.14 and earlier contains a stored cross‑site scripting flaw in the image_get API endpoint. Attackers can upload a crafted SVG file containing script tags to a directory readable by the agent‑zero process. When an authenticated user visits the image_get URL, the browser executes the malicious JavaScript in the context of the application origin, allowing the attacker to steal the csrf_token cookie and perform unauthorized API requests on the victim’s behalf.

Affected Systems

Vendors: 3clyp50, Product: agent-zero, Versions: all releases prior to 1.15. Any installation that stores files in paths readable by the agent‑zero process and exposes the image_get endpoint is affected.

Risk and Exploitability

This vulnerability has a CVSS score of 5.3, indicating moderate overall risk. EPSS is not available and the issue is not listed in CISA KEV. An attacker must first upload a malicious SVG to a server location accessible to agent‑zero and then convince an authenticated user to access the image_get URL. The attack is confined to the victim’s browser session and requires the user to be actively redirected or lured to the crafted URL. Because it relies on user interaction and file placement, exploitation is plausible but not trivially automated.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Deploy a patch that upgrades agent‑zero to version 1.15 or newer
  • Configure appropriate security headers (Content‑Security‑Policy, X‑Content‑Type‑Options, Content‑Disposition) for the image_get endpoint
  • Restrict writable and publicly accessible directories so that only trusted files are served via image_get
  • Enforce least‑privilege access controls to prevent authenticated users from viewing arbitrary files

Generated by OpenCVE AI on May 27, 2026 at 19:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Agent-zero
Agent-zero agent-zero
CPEs cpe:2.3:a:agent-zero:agent-zero:*:*:*:*:*:*:*:*
Vendors & Products Agent-zero
Agent-zero agent-zero
Type Values Removed Values Added
First Time appeared 3clyp50
3clyp50 agent-zero
Vendors & Products 3clyp50
3clyp50 agent-zero
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Agent Zero < 1.15 Stored XSS via image_get API Endpoint
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 9:15 PM
Reserved
May 18, 2026, 7:22 PM
Status
Deferred
Published
May 27, 2026, 3:16 PM
Modified
Oct 29, 2026, 9:17 PM