Cross-site Scripting (XSS) Affecting plantuml package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.2% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2204-PLANTUML-5751835
  • published18 Mar 2025
  • disclosed15 Apr 2022

Introduced: 15 Apr 2022

CVE-2022-1231  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:22.04 plantuml.

NVD Description

Note: Versions mentioned in the description apply only to the upstream plantuml package and not the plantuml package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1