CVE-2022-1231
published critical CVSS 3.0 · 9.3XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| plantuml | — | plantuml/plantumlunspecified to < 1.2022.4 | Affected | Not stated | @huntrdev |
| SUSE / openSUSE | openSUSE-Tumbleweed | plantumlaarch64 | Advisory build | 1.2022.4-1.1 | OPENSUSE-SU-2024:12011-1 |
| Ubuntu | bionic | plantuml | Advisory build | 1:1.2017.15-1ubuntu0.1~esm1 | USN-7353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | plantumlppc64le | Advisory build | 1.2022.4-1.1 | OPENSUSE-SU-2024:12011-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | plantumls390x | Advisory build | 1.2022.4-1.1 | OPENSUSE-SU-2024:12011-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | plantumlx86_64 | Advisory build | 1.2022.4-1.1 | OPENSUSE-SU-2024:12011-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | plantuml-javadocaarch64 | Advisory build | 1.2022.4-1.1 | OPENSUSE-SU-2024:12011-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | plantuml-javadocppc64le | Advisory build | 1.2022.4-1.1 | OPENSUSE-SU-2024:12011-1 |
Show 6 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | plantuml-javadocs390x | Advisory build | 1.2022.4-1.1 | OPENSUSE-SU-2024:12011-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | plantuml-javadocx86_64 | Advisory build | 1.2022.4-1.1 | OPENSUSE-SU-2024:12011-1 |
| Ubuntu | focal | plantuml | Advisory build | 1:1.2018.13+ds-2ubuntu0.1~esm1 | USN-7353-1 |
| Ubuntu | jammy | plantuml | Advisory build | 1:1.2020.2+ds-1ubuntu0.1 | USN-7353-1 |
| Ubuntu | noble | plantuml | Advisory build | 1:1.2020.2+ds-3ubuntu1.1 | USN-7353-1 |
| Ubuntu | xenial | plantuml | Advisory build | 8024-2ubuntu0.1~esm1 | USN-7353-1 |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- @huntrdev · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| plantuml | plantuml/plantuml | unspecified to < 1.2022.4 (affected · custom) | @huntrdev · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- https://github.com/plantuml/plantuml/commit/c9137be051ce98b3e3e27f65f54ec7d9f8886903
- https://huntr.dev/bounties/27db9509-6cd3-4148-8d70-5942f3837604
- FEDORA-2022-930b54aa84 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EO26WBHQRMWTS44M5VLZJIJZOIGJYL3A/
- FEDORA-2022-e8b1324ec8 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FQMHXN5BVBK433C5SVSSBXWB5JLJ7NID/
Provider assertions
2@huntrdev · cna
XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e0cf6d1993d24f441dafb7f27b2f1fc19f848f87dbfe8d5cf0eeeb1c64316f53
- Ingested
- 23 Sep 2026, 07:57:41 UTC
- Source record
- Official CVE record