Cross-site Scripting (XSS) Affecting plantuml package, versions <1:1.2020.2+ds-6


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.2% (58th 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-DEBIANUNSTABLE-PLANTUML-5741427
  • published28 Jun 2023
  • 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?

Upgrade Debian:unstable plantuml to version 1:1.2020.2+ds-6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream plantuml package and not the plantuml package as distributed by Debian. See How to fix? for Debian:unstable 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 Scores

version 3.1