CVE-2026-47119: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in 3clyp50 agent-zero
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.
AI Analysis
Technical Summary
CVE-2026-47119 is a stored cross-site scripting vulnerability in 3clyp50's agent-zero before version 1.15. The vulnerability occurs because the image_get API endpoint serves SVG files without critical security headers (Content-Security-Policy, X-Content-Type-Options, Content-Disposition), allowing attackers to embed malicious JavaScript within SVG files. Attackers can place these crafted SVG files in any path readable by the agent-zero process. When an authenticated user accesses the image_get endpoint to retrieve the SVG, the browser executes the embedded script, which can steal the user's csrf_token cookie and perform unauthorized API actions. The CVSS 4.0 score is 5.3 (medium severity). No patch or official remediation has been documented as of the published date.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the affected application, leading to theft of csrf_token cookies and unauthorized API calls performed with the victim's privileges. This compromises user session integrity and can result in unauthorized actions within the application. The vulnerability requires the attacker to place a malicious SVG file in a location accessible to the agent-zero process and to lure an authenticated user to access the image_get endpoint serving that file.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should restrict write permissions to directories accessible by the agent-zero process to prevent placement of malicious SVG files. Additionally, consider implementing web application firewall rules to detect and block suspicious SVG payloads and monitor for unusual API activity. Applying security headers such as Content-Security-Policy, X-Content-Type-Options, and Content-Disposition on the image_get endpoint would mitigate the risk but requires vendor action.
CVE-2026-47119: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in 3clyp50 agent-zero
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.
CVSS v4.0
Score 5.3medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-47119 is a stored cross-site scripting vulnerability in 3clyp50's agent-zero before version 1.15. The vulnerability occurs because the image_get API endpoint serves SVG files without critical security headers (Content-Security-Policy, X-Content-Type-Options, Content-Disposition), allowing attackers to embed malicious JavaScript within SVG files. Attackers can place these crafted SVG files in any path readable by the agent-zero process. When an authenticated user accesses the image_get endpoint to retrieve the SVG, the browser executes the embedded script, which can steal the user's csrf_token cookie and perform unauthorized API actions. The CVSS 4.0 score is 5.3 (medium severity). No patch or official remediation has been documented as of the published date.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the affected application, leading to theft of csrf_token cookies and unauthorized API calls performed with the victim's privileges. This compromises user session integrity and can result in unauthorized actions within the application. The vulnerability requires the attacker to place a malicious SVG file in a location accessible to the agent-zero process and to lure an authenticated user to access the image_get endpoint serving that file.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should restrict write permissions to directories accessible by the agent-zero process to prevent placement of malicious SVG files. Additionally, consider implementing web application firewall rules to detect and block suspicious SVG payloads and monitor for unusual API activity. Applying security headers such as Content-Security-Policy, X-Content-Type-Options, and Content-Disposition on the image_get endpoint would mitigate the risk but requires vendor action.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-18T19:22:26.749Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a170b58e29bf47b50c90719
Added to database: 5/27/2026, 3:18:48 PM
Last enriched: 5/27/2026, 4:08:24 PM
Last updated: 5/29/2026, 9:17:05 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.