A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-47119

CVE-2026-47119: Agent Zero Stored XSS Vulnerability

CVE-2026-47119 is a stored XSS vulnerability in Agent Zero before v1.15 that allows attackers to execute malicious JavaScript via SVG files. This article covers the technical details, affected versions, and mitigation steps.

Published: May 28, 2026

CVE-2026-47119 Overview

CVE-2026-47119 is a stored cross-site scripting (XSS) vulnerability affecting Agent Zero versions before 1.15. The flaw exists in the image_get API endpoint, which serves SVG files without setting Content-Security-Policy, X-Content-Type-Options, or Content-Disposition response headers. An attacker who can place a crafted SVG file in any path readable by the agent-zero process can trigger script execution in the application origin when an authenticated user visits the endpoint. The injected JavaScript runs with the victim's session context, enabling theft of the csrf_token cookie and unauthorized API calls. This issue is tracked under CWE-79: Improper Neutralization of Input During Web Page Generation.

Critical Impact

Authenticated session compromise leading to CSRF token theft and unauthorized API actions performed on behalf of the victim user.

Affected Products

  • Agent Zero versions prior to 1.15
  • Deployments exposing the image_get API endpoint
  • Instances where the agent-zero process can read attacker-controlled file paths

Discovery Timeline

  • 2026-05-27 - CVE-2026-47119 published to the National Vulnerability Database (NVD)
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-47119

Vulnerability Analysis

The vulnerability resides in how Agent Zero's image_get API endpoint returns SVG files to the requesting browser. SVG is an XML-based format that supports embedded <script> elements and JavaScript event handlers. When the endpoint serves an SVG without restrictive response headers, the browser renders it as an active document in the application origin. Any script tags contained within the SVG execute with the full privileges of the authenticated session.

Because the script runs in the same origin as Agent Zero, it can read same-origin cookies that lack the HttpOnly flag, including the csrf_token cookie. With that token, the attacker's payload can issue authenticated API requests that bypass CSRF protections. The result is unauthorized action execution scoped to the victim's privileges within the application.

Root Cause

The root cause is missing defense-in-depth response headers on the image_get endpoint. Specifically, the absence of Content-Security-Policy permits inline script execution, the absence of X-Content-Type-Options: nosniff allows MIME confusion, and the absence of Content-Disposition: attachment causes browsers to render SVG content inline rather than treat it as a download. Combined, these gaps allow attacker-supplied SVG content to be interpreted as executable script.

Attack Vector

Exploitation requires two preconditions: the attacker must write a crafted SVG containing script tags to a path readable by the agent-zero process, and an authenticated user must be lured to the image_get URL referencing that file. When the victim's browser fetches the SVG, the embedded JavaScript executes in the Agent Zero origin, exfiltrates the csrf_token cookie, and invokes API endpoints as the victim. User interaction is required, which is reflected in the UI:P CVSS component.

No verified exploit code is published. Refer to the VulnCheck Advisory on XSS and the GitHub Issue Discussion for technical context.

Detection Methods for CVE-2026-47119

Indicators of Compromise

  • SVG files containing <script> tags, onload=, or javascript: URIs located in directories readable by the agent-zero process
  • HTTP requests to the image_get endpoint referencing SVG paths outside expected application asset directories
  • Outbound HTTP requests from authenticated browser sessions containing exfiltrated csrf_token values

Detection Strategies

  • Inspect HTTP responses from image_get for Content-Type: image/svg+xml lacking Content-Security-Policy, X-Content-Type-Options, or Content-Disposition headers
  • Scan filesystem locations accessible to the agent-zero service for SVG files containing script payloads or event handler attributes
  • Correlate image_get requests with subsequent authenticated API calls from the same session that diverge from normal user behavior

Monitoring Recommendations

  • Enable web access logging on the Agent Zero application and alert on image_get requests resolving to non-standard file paths
  • Monitor for anomalous API call patterns following SVG fetches within the same session
  • Track file write events to directories readable by the agent-zero process, particularly for files with .svg extensions

How to Mitigate CVE-2026-47119

Immediate Actions Required

  • Upgrade Agent Zero to version 1.15 or later, which applies the fix referenced in the GitHub Commit Update
  • Restrict write access to directories readable by the agent-zero process to trusted users only
  • Audit existing SVG files within agent-readable paths and remove any containing script content

Patch Information

The upstream fix is committed at GitHub Commit 1f2d5122. The patch addresses the missing response headers on the image_get endpoint. Operators should validate the version after upgrade and confirm that responses include the appropriate security headers.

Workarounds

  • Place a reverse proxy in front of Agent Zero that injects Content-Security-Policy: default-src 'none', X-Content-Type-Options: nosniff, and Content-Disposition: attachment on responses from image_get
  • Block or filter SVG file serving through image_get until the upgrade is applied
  • Mark session cookies as HttpOnly and SameSite=Strict where feasible to reduce token theft impact
bash
# Example nginx reverse proxy header injection for the image_get endpoint
location /image_get {
    proxy_pass http://agent_zero_upstream;
    add_header Content-Security-Policy "default-src 'none'; style-src 'unsafe-inline'" always;
    add_header X-Content-Type-Options "nosniff" always;
    add_header Content-Disposition "attachment" always;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechAgent Zero

  • SeverityMEDIUM

  • CVSS Score5.3

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • GitHub Issue Discussion

  • VulnCheck Advisory on XSS
  • Related CVEs
  • CVE-2026-47118: Agent Zero Path Traversal Vulnerability

  • CVE-2026-30624: Agent Zero 0.9.8 RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English