Skip to main content

Agent Zero EUVDEUVD-2026-32524

| CVE-2026-47119 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-27 disclosure@vulncheck.com GHSA-9pw8-7895-6wxc
5.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain write access to agent-readable filesystem path
  2. Delivery
    Plant crafted SVG file with embedded script tags
  3. Exploit
    Craft image_get URL referencing malicious SVG
  4. Install
    Deliver phishing link to authenticated Agent Zero user
  5. C2
    Victim browser fetches endpoint and renders SVG without CSP
  6. Execute
    Embedded JavaScript executes in application origin
  7. Impact
    Exfiltrate csrf_token cookie and replay authenticated API calls

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all three of the following conditions to be met simultaneously: (1) the attacker must have prior write access to at least one filesystem path readable by the agent-zero process (e.g., an upload directory, mounted volume, or path writable via a separate vulnerability) in order to plant the crafted SVG file; (2) an authenticated Agent Zero user must be induced via phishing or social engineering to access the image_get endpoint with a URL parameter pointing to the attacker's SVG - the CVSS UI:P (User Interaction: Passive) metric confirms this is a mandatory prerequisite, not an optional escalation path; and (3) the target instance must be running Agent Zero before version 1.15. The CVSS PR:N confirms the attacker requires no authentication themselves to craft the payload URL or plant the file through an external write vector. Exploitation is bounded by the non-default requirement for prior file-write access and the mandatory user-interaction step, which together explain the SSVC automatable=no classification and prevent mass automated targeting.

Impact

CVSS 4.0 scores this 5.3 (Medium). The vector AV:N/AC:L/AT:N/PR:N/UI:P reflects network-accessible, low-complexity exploitation requiring no attacker privileges but mandating passive user interaction, which is the primary risk-limiting factor. Impact metrics SC:L and SI:L confirm the effect is confined to the victim's browser session (subsequent system) rather than the server itself, consistent with session-hijacking XSS. SSVC reinforces this: exploitation status is none (no observed active exploitation), automatable is no (social engineering prerequisite prevents mass targeting), and technical impact is partial. No CISA KEV listing and no public exploit code identified at time of analysis, meaning this does not meet the threshold for emergency response. Despite the moderate CVSS score, the real-world risk in agentic AI deployments is non-trivial: csrf_token theft grants the ability to issue authenticated API calls against an AI agent framework, potentially triggering sensitive agent operations or data exfiltration. Organizations running Agent Zero in multi-user or internet-exposed configurations should treat this as a near-term patching priority rather than a routine maintenance item. EPSS score was not included in the source data; exploitation probability cannot be quantified beyond SSVC signals.

Exploit ScenarioDerived

An attacker with write access to a filesystem path readable by the agent-zero process - for example via a separate file-upload vulnerability or misconfigured shared storage - places a crafted SVG file embedding a script tag that POSTs document.cookie to an attacker-controlled server. The attacker crafts a URL to the image_get endpoint referencing the malicious SVG and delivers it to an authenticated Agent Zero user via phishing; the victim's browser fetches the endpoint, renders the SVG inline without script restrictions, and executes the payload, silently exfiltrating the csrf_token cookie and enabling the attacker to replay authenticated API calls. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 27, 2026

Stored cross-site scripting in Agent Zero before version 1.15 enables arbitrary JavaScript execution in the application origin by exploiting the image_get API endpoint's failure to set Content-Security-Policy, X-Content-Type-Options, or Content-Disposition headers when serving SVG files. An unauthenticated attacker (CVSS PR:N) who can write a crafted SVG to any filesystem path readable by the agent-zero process can then socially engineer an authenticated user into visiting the endpoint, causing the browser to execute embedded scripts, exfiltrate the csrf_token cookie, and issue unauthorized API calls on the victim's behalf. No public exploit has been identified at time of analysis, and SSVC classifies exploitation as none with automatable set to no, reflecting the mandatory user-interaction prerequisite.

RemediationAI

Upgrade Agent Zero to version 1.15 or later, which is the vendor-released patch confirmed by EUVD-2026-32524 and implemented in commit 1f2d5122265282d6b98bc36ee8f9d0f8ab76db9e (https://github.com/3clyp50/agent-zero/commit/1f2d5122265282d6b98bc36ee8f9d0f8ab76db9e). The patch adds an SVG-specific Content-Security-Policy ('sandbox; default-src none; script-src none') and X-Content-Type-Options: nosniff to the image_get response, and restricts path resolution to the application base directory. If immediate upgrade is not feasible, block external access to the image_get endpoint at the reverse proxy or WAF layer by denying requests to the equivalent route - note this will break legitimate in-application image rendering. Additionally, audit and restrict write permissions on directories readable by the agent-zero process to prevent attackers from planting SVG payloads; this is a compensating control only and does not eliminate the header-injection root cause. The VulnCheck advisory at https://www.vulncheck.com/advisories/agent-zero-stored-xss-via-image-get-api-endpoint and GitHub issue https://github.com/agent0ai/agent-zero/issues/1609 provide additional vendor context.

Affected VersionsENISA

Agent-Zero 0 <1.15

Affected Packages

euvd agent_zero fix: 1.15

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in api/image_get.py within the Agent Zero AI agent framework (all versions before 1.15). Root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the omission of security response headers when serving SVG and SVGZ files. SVG is an XML-based format that natively supports inline JavaScript via script tags; when a browser renders SVG served without a script-blocking Content-Security-Policy or X-Content-Type-Options: nosniff header, it executes embedded scripts in the serving origin's security context. The pre-patch code in image_get.py applied no SVG-specific header treatment, serving SVG content identically to inert raster formats. The fix in commit 1f2d5122265282d6b98bc36ee8f9d0f8ab76db9e introduces a hardened CSP string ('sandbox; default-src none; script-src none; img-src self data:; style-src unsafe-inline') applied exclusively to .svg and .svgz responses, adds X-Content-Type-Options: nosniff across all image types, and introduces a path traversal guard (_resolve_allowed_image_path) that constrains file resolution to the application's base directory. No CPE string was provided in the source data; affected product is identified via EUVD-2026-32524 as Agent-Zero versions 0 through less than 1.15.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 5.3 MEDIUM
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

Primary rating from Vendor (vulncheck) · only source for this CVE.

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
May 27, 2026 - 19:46 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy