CVE-2022-1231 CRITICAL

CVE-2022-1231: XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml

Vendor Plantuml
Product plantuml/plantuml
Weakness CWE-79 · XSS
Published April 15, 2022
Last update August 2, 2024

CVSS base score

9.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity Low

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

What the vulnerability does

01Description

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).

Key dates

02Disclosure timeline

April 15, 2022 CVE published
August 2, 2024 Record updated