Skip to content
OpenAdvisories
Critical · 9.3 CVE-2022-1231 EUVD-2022-24568GHSA-cpj6-8368-p538

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

Published Apr 15, 2022 · Updated Aug 2, 2024 · Assigned by @huntrdev

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 products

VendorProductAffectedFixed
plantuml plantuml/plantuml unspecified – < 1.2022.4 1.2022.4

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 plantuml 1:1.2020.2+ds-6 —
Debian 13 plantuml 1:1.2020.2+ds-6 —
Debian 12 plantuml No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS plantuml 1:1.2020.2+ds-3ubuntu1.1 USN-7353-1
Ubuntu 22.04 LTS plantuml 1:1.2020.2+ds-1ubuntu0.1 USN-7353-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS plantuml 1:1.2018.13+ds-2ubuntu0.1~esm1 USN-7353-1
Ubuntu Pro 18.04 LTS plantuml 1:1.2017.15-1ubuntu0.1~esm1 USN-7353-1
Ubuntu Pro 16.04 LTS plantuml 8024-2ubuntu0.1~esm1 USN-7353-1

Advisories 1

References