CVE-2022-1231

XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml

MEDIUM
6.1
CVSS Score
Published: April 15, 2022 at 03:05 PM UTC
Updated: June 17, 2026 at 04:22 AM UTC
2 products affected across 2 vendorsFedoraPlantuml

Using plantuml/plantuml by plantuml?

Get instant alerts when new vulnerabilities affect plantuml/plantuml - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 2%

Description

XSS via Embedded SVG in SVG Diagram Format in GitHub repository plantuml/plantuml prior to 1.2022.4. Stored XSS in the context of the diagram embedder. Depending on the actual context, this ranges from stealing secrets to account hijacking or even to code execution for example in desktop applications. Web based applications are the ones most affected. Since the SVG format allows clickable links in diagrams, it is commonly used in plugins for web based projects (like the Confluence plugin, etc. see https://plantuml.com/de/running).

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.2022.4
Affected range stops below 1.2022.4, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card