Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-0858

CVE-2026-0858: PlantUML Stored XSS Vulnerability

CVE-2026-0858 is a stored cross-site scripting flaw in PlantUML that allows injection of malicious JavaScript into SVG output. This article covers the technical details, affected versions, impact, and mitigation.

Published: January 23, 2026

CVE-2026-0858 Overview

CVE-2026-0858 is a Stored Cross-Site Scripting (XSS) vulnerability affecting PlantUML versions before 1.2026.0. The vulnerability arises from insufficient sanitization of interactive attributes in GraphViz diagrams. When processing malicious PlantUML diagram input, the application fails to properly sanitize user-controlled content, allowing attackers to inject malicious JavaScript into generated SVG output. This script then executes in the context of any application that renders the tainted SVG.

Critical Impact

Attackers can craft malicious PlantUML diagrams that inject arbitrary JavaScript into SVG output, enabling session hijacking, credential theft, or further client-side attacks against users viewing the rendered diagrams.

Affected Products

  • PlantUML (net.sourceforge.plantuml:plantuml) versions prior to 1.2026.0
  • Applications and services that render PlantUML-generated SVG output
  • Documentation platforms and wikis integrating PlantUML diagram generation

Discovery Timeline

  • 2026-01-16 - CVE CVE-2026-0858 published to NVD
  • 2026-01-16 - Last updated in NVD database

Technical Details for CVE-2026-0858

Vulnerability Analysis

This Stored XSS vulnerability (CWE-79) exists in PlantUML's GraphViz diagram processing functionality. The core issue stems from the application's failure to properly sanitize interactive SVG attributes when converting PlantUML diagram definitions into SVG output. PlantUML's PSystemDot component, which handles direct GraphViz DOT language processing, allowed SVG export without adequate input filtering.

When a user submits a specially crafted PlantUML diagram containing malicious payloads within GraphViz-specific syntax, the application generates an SVG file that preserves these dangerous elements. Any application that subsequently renders this SVG—whether a web browser, documentation platform, or collaboration tool—will execute the embedded JavaScript in the user's security context.

Root Cause

The vulnerability originates in the PSystemDot class within src/main/java/net/sourceforge/plantuml/directdot/PSystemDot.java. This component processes raw DOT language input for GraphViz diagram generation without implementing proper output encoding or attribute sanitization. The lack of content security filtering on interactive SVG attributes (such as event handlers) permits malicious script content to flow directly into the generated SVG markup.

Attack Vector

An attacker exploits this vulnerability through network-based delivery of a malicious PlantUML diagram. The attack requires user interaction—specifically, a victim must view the rendered SVG output. The attacker crafts a PlantUML diagram containing JavaScript payloads embedded within GraphViz syntax elements. When processed by a vulnerable PlantUML instance, the resulting SVG contains executable script content. Any user or system rendering this SVG will trigger the payload execution.

The attack chain typically involves:

  1. Attacker submits a malicious PlantUML diagram to a vulnerable service
  2. PlantUML processes the diagram and generates tainted SVG output
  3. The SVG is stored or served to other users
  4. Victims viewing the SVG have malicious JavaScript executed in their browser context
java
// Security patch removing SVG export capability for PSystemDot
// Source: https://github.com/plantuml/plantuml/commit/6826315db092d2e432aeab1a0894e08017c6e4bd

 import java.io.IOException;
 import java.io.OutputStream;
 import java.util.Arrays;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
 
 import net.atmp.ImageBuilder;
 import net.sourceforge.plantuml.AbstractPSystem;
+import net.sourceforge.plantuml.FileFormat;
 import net.sourceforge.plantuml.FileFormatOption;
 import net.sourceforge.plantuml.FileImageData;
 import net.sourceforge.plantuml.StringUtils;

Source: GitHub Commit Update

Detection Methods for CVE-2026-0858

Indicators of Compromise

  • Unexpected JavaScript or event handler attributes (onclick, onload, onerror) within PlantUML-generated SVG files
  • SVG output containing <script> tags or encoded JavaScript payloads
  • Anomalous HTTP requests originating from rendered documentation or diagram pages
  • User reports of unexpected browser behavior when viewing PlantUML diagrams

Detection Strategies

  • Implement static analysis scanning of PlantUML diagram inputs for suspicious GraphViz attributes and script injection patterns
  • Deploy Content Security Policy (CSP) headers on applications serving PlantUML SVG output to detect and block inline script execution
  • Monitor web application logs for unusual diagram submission patterns or payloads containing HTML/JavaScript syntax

Monitoring Recommendations

  • Enable logging for all PlantUML diagram generation requests with input content hashing for forensic analysis
  • Implement real-time alerting for SVG files containing script elements or event handler attributes
  • Conduct periodic audits of stored PlantUML diagrams and generated SVG outputs for XSS payloads
  • Monitor client-side error logs for CSP violations related to diagram rendering components

How to Mitigate CVE-2026-0858

Immediate Actions Required

  • Upgrade PlantUML to version 1.2026.0 or later immediately across all environments
  • Audit existing PlantUML-generated SVG files for potential malicious content
  • Implement Content Security Policy headers restricting inline script execution for pages rendering PlantUML output
  • Review and sanitize any user-submitted PlantUML diagrams stored in your systems

Patch Information

The PlantUML development team addressed this vulnerability in version 1.2026.0. The fix removes SVG export capability for the vulnerable PSystemDot component, eliminating the attack vector. Organizations should update to 1.2026.0 or later via their Maven, Gradle, or direct download mechanisms.

Detailed patch information is available:

  • GitHub Release v1.2026.0
  • Security Patch Commit
  • Snyk Vulnerability Report

Workarounds

  • Disable SVG output format for PlantUML diagram generation, using PNG or other raster formats instead
  • Implement server-side SVG sanitization before serving PlantUML-generated content to users
  • Deploy strict Content Security Policy headers with script-src 'none' for SVG content
  • Restrict PlantUML diagram submission to trusted authenticated users only
bash
# Configuration example - Maven dependency update
# Update pom.xml to use patched PlantUML version
<dependency>
    <groupId>net.sourceforge.plantuml</groupId>
    <artifactId>plantuml</artifactId>
    <version>1.2026.0</version>
</dependency>

# For Gradle users, update build.gradle
implementation 'net.sourceforge.plantuml:plantuml:1.2026.0'

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechPlantuml

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P/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
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • GitHub Release v1.2026.0

  • Snyk Vulnerability Report
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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