Skip to content

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

MediumCVSS 6.1 EPSS 2.0%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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

Upgrade path

11 packages: 9 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
debian/plantuml(Debian 12) = 1:1.2020.2+ds-3; = 1:1.2020.2+ds-4; = 1:1.2020.2+ds-5; = 1:1.2020.2+ds-6 +4 more No fix listed No fix yet
debian/plantuml(Debian 13) < 1:1.2020.2+ds-6 1:1.2020.2+ds-6 Fixed
debian/plantuml(Debian 14) < 1:1.2020.2+ds-6 1:1.2020.2+ds-6 Fixed
plantuml < 1.2022.4 1.2022.4 Fixed
plantuml/plantuml < 1.2022.4 1.2022.4 Fixed
ubuntu/plantuml(Ubuntu 22.04) < 1:1.2020.2+ds-1ubuntu0.1; = 1:1.2020.2+ds-1 1:1.2020.2+ds-1ubuntu0.1 Fixed
ubuntu/plantuml(Ubuntu 24.04) < 1:1.2020.2+ds-3ubuntu1.1; = 1:1.2020.2+ds-3; = 1:1.2020.2+ds-3ubuntu1 1:1.2020.2+ds-3ubuntu1.1 Fixed
ubuntu/plantuml(Ubuntu Pro 16.04) < 8024-2ubuntu0.1~esm1; = 8024-2 8024-2ubuntu0.1~esm1 Fixed
ubuntu/plantuml(Ubuntu Pro 18.04) < 1:1.2017.15-1ubuntu0.1~esm1; = 1:1.2017.15-1; = 8039-1 1:1.2017.15-1ubuntu0.1~esm1 Fixed
ubuntu/plantuml(Ubuntu Pro 20.04) < 1:1.2018.13+ds-2ubuntu0.1~esm1; = 1:1.2018.13+ds-2 1:1.2018.13+ds-2ubuntu0.1~esm1 Fixed
fedoraproject fedora = 35; = 36 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
plantuml/plantuml < 1.2022.4 1.2022.4
ubuntu/plantuml(Ubuntu:22.04) < 1:1.2020.2+ds-1ubuntu0.1 1:1.2020.2+ds-1ubuntu0.1
plantuml < 1.2022.4 1.2022.4
fedoraproject fedora = 35 No fix listed
fedoraproject fedora = 36 No fix listed
ubuntu/plantuml(Ubuntu:24.04) < 1:1.2020.2+ds-3ubuntu1.1 1:1.2020.2+ds-3ubuntu1.1
debian/plantuml(Debian:12) All versions No fix listed
debian/plantuml(Debian:14) < 1:1.2020.2+ds-6 1:1.2020.2+ds-6
debian/plantuml(Debian:13) < 1:1.2020.2+ds-6 1:1.2020.2+ds-6
ubuntu/plantuml(Ubuntu:Pro:16.04) < 8024-2ubuntu0.1~esm1 8024-2ubuntu0.1~esm1
ubuntu/plantuml(Ubuntu:Pro:16.04) = 8024-2 No fix listed
ubuntu/plantuml(Ubuntu:Pro:18.04) < 1:1.2017.15-1ubuntu0.1~esm1 1:1.2017.15-1ubuntu0.1~esm1
ubuntu/plantuml(Ubuntu:Pro:18.04) = 8039-1 No fix listed
ubuntu/plantuml(Ubuntu:Pro:18.04) = 1:1.2017.15-1 No fix listed
ubuntu/plantuml(Ubuntu:Pro:20.04) < 1:1.2018.13+ds-2ubuntu0.1~esm1 1:1.2018.13+ds-2ubuntu0.1~esm1
ubuntu/plantuml(Ubuntu:Pro:20.04) = 1:1.2018.13+ds-2 No fix listed
ubuntu/plantuml(Ubuntu:22.04) = 1:1.2020.2+ds-1 No fix listed
ubuntu/plantuml(Ubuntu:24.04) = 1:1.2020.2+ds-3 No fix listed
ubuntu/plantuml(Ubuntu:24.04) = 1:1.2020.2+ds-3ubuntu1 No fix listed
debian/plantuml(Debian:12) = 1:1.2020.2+ds-3 No fix listed
debian/plantuml(Debian:12) = 1:1.2020.2+ds-4 No fix listed
debian/plantuml(Debian:12) = 1:1.2020.2+ds-5 No fix listed
debian/plantuml(Debian:12) = 1:1.2020.2+ds-6 No fix listed
debian/plantuml(Debian:12) = 1:1.2026.2+ds-1 No fix listed
debian/plantuml(Debian:12) = 1:1.2026.2+ds-2 No fix listed
Show 1 more
ProductAffected versionsFixed in
debian/plantuml(Debian:12) = 1:1.2026.2+ds-3 No fix listed

References