# CVE-2022-1231: plantuml: XSS via Embedded SVG in SVG Diagram Format in GitHub repositoryplantuml/plantuml prior to 1.2022.4

CVE-2022-1231 is fixed in plantuml on 1 platform, first by plantuml 1:1.2017.15-1ubuntu0.1~esm1, released April 15, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-1231
- Priority: Routine
- CVSS: 6.1 (Medium)
- EPSS: 0.0196
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 15, 2022

## Description

XSS via Embedded SVG in SVG Diagram Format in GitHub repositoryplantuml/plantuml prior to 1.2022.4. Stored XSS in the context of thediagram embedder. Depending on the actual context, this ranges fromstealing secrets to account hijacking or even to code execution for examplein desktop applications. Web based applications are the ones most affected.Since the SVG format allows clickable links in diagrams, it is commonlyused in plugins for web based projects (like the Confluence plugin, etc.see https://plantuml.com/de/running).

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | plantuml Debian 13.5 (trixie) | 1:1.2020.2+ds-6 | [DEBIAN-CVE-2022-1231](https://patchblox.com/security/data/fix/linux/debian-cve-2022-1231.md) | Apr 15, 2022 |
| Linux | plantuml Debian 14 | 1:1.2020.2+ds-6 | [DEBIAN-CVE-2022-1231](https://patchblox.com/security/data/fix/linux/debian-cve-2022-1231.md) | Apr 15, 2022 |
| Linux | plantuml Ubuntu 18.04.6 LTS (bionic) | 1:1.2017.15-1ubuntu0.1~esm1 | [plantuml 1:1.2017.15-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-plantuml-1-1.2017.15-1ubuntu0.1-esm1.md) | Apr 15, 2022 |
| Linux | plantuml Ubuntu 20.04 LTS (focal) | 1:1.2018.13+ds-2ubuntu0.1~esm1 | [plantuml 1:1.2018.13+ds-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-plantuml-1-1.2018.13-ds-2ubuntu0.1-esm1.md) | Apr 15, 2022 |
| Linux | plantuml Ubuntu 22.04.1 LTS (jammy) | 1:1.2020.2+ds-1ubuntu0.1 | [plantuml 1:1.2020.2+ds-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-plantuml-1-1.2020.2-ds-1ubuntu0.1.md) | Apr 15, 2022 |
| Linux | plantuml Ubuntu 24.04.5 LTS (noble) | 1:1.2020.2+ds-3ubuntu1.1 | [plantuml 1:1.2020.2+ds-3ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-plantuml-1-1.2020.2-ds-3ubuntu1.1.md) | Apr 15, 2022 |
| Linux | plantuml Ubuntu 24.10 (oracular) | 1:1.2020.2+ds-5ubuntu0.1 | [plantuml 1:1.2020.2+ds-5ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-plantuml-1-1.2020.2-ds-5ubuntu0.1.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
