CVE-2022-1231
XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml
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).
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
9.3
XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml
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).
- Record
CVE-2022-1231- CVSS 3.0
- 9.3 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2022-24568
9.3
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).
- Record
EUVD-2022-24568- CVSS 3.0
- 9.3 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cpj6-8368-p538
6.1
XSS via Embedded SVG in SVG Diagram Format in GitHub repository plantuml/plantuml prior to 1.2022...
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).
- Record
GHSA-cpj6-8368-p538- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
6.1
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).
- Record
CVE-2022-1231- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 3.0
- 9.3 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
9.3
XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml
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).
- Record
CVE-2022-1231- CVSS 3.0
- 9.3 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-1231
6.1
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).
- Record
DEBIAN-CVE-2022-1231- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-03
OSVUBUNTU-CVE-2022-1231
6.1
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).
- Record
UBUNTU-CVE-2022-1231- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 3.0
- 9.3 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12011-1 No score
plantuml-1.2022.4-1.1 on GA media
These are all security issues fixed in the plantuml-1.2022.4-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12011-1- Updated
- 2026-11-02
OSVUSN-7353-1 No score
plantuml vulnerability
Tobias S. Fink discovered that PlantUML was susceptible to cross-site scripting attacks (XSS) in instances where SVG images were rendered. An attacker could possibly use this issue to cause PlantUML to crash, resulting in a denial of service, or the execution of arbitrary code.
- Record
USN-7353-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
plantumlDebian:12 |
All versions, plus listed versions 1:1.2020.2+ds-31:1.2020.2+ds-41:1.2020.2+ds-51:1.2020.2+ds-61:1.2026.2+ds-11:1.2026.2+ds-21:1.2026.2+ds-3 |
None known |
plantumlDebian:13 |
before 1:1.2020.2+ds-6 | 1:1.2020.2+ds-6 |
plantumlDebian:14 |
before 1:1.2020.2+ds-6 | 1:1.2020.2+ds-6 |
plantumlUbuntu:Pro:16.04:LTS |
before 8024-2ubuntu0.1~esm1, plus listed versions 8024-2 |
8024-2ubuntu0.1~esm1 |
plantumlUbuntu:Pro:18.04:LTS |
before 1:1.2017.15-1ubuntu0.1~esm1, plus listed versions 8039-11:1.2017.15-1 |
1:1.2017.15-1ubuntu0.1~esm1 |
plantumlUbuntu:Pro:20.04:LTS |
before 1:1.2018.13+ds-2ubuntu0.1~esm1, plus listed versions 1:1.2018.13+ds-2 |
1:1.2018.13+ds-2ubuntu0.1~esm1 |
plantumlUbuntu:22.04:LTS |
before 1:1.2020.2+ds-1ubuntu0.1, plus listed versions 1:1.2020.2+ds-1 |
1:1.2020.2+ds-1ubuntu0.1 |
plantumlUbuntu:24.04:LTS |
before 1:1.2020.2+ds-3ubuntu1.1, plus listed versions 1:1.2020.2+ds-31:1.2020.2+ds-3ubuntu1 |
1:1.2020.2+ds-3ubuntu1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-1231 is a critical vulnerability (CVSS 9.3) in Plantuml, published April 15, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.96%, the 80th percentile. Fixed in plantuml 1:1.2020.2+ds-6.
References
huntr.dev/bounties/27db9509-6cd3-4148-8d70-5942f3837604
github.com/plantuml/plantuml/commit/c9137be051ce98b3e3e27f65f54ec7d9f8886903
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FQMHXN5BVBK433C5SVSSBXWB5JLJ7NID
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EO26WBHQRMWTS44M5VLZJIJZOIGJYL3A
nvd.nist.gov/vuln/detail/CVE-2022-1231
lists.fedoraproject.org/archives/list/[email protected]/message/FQMHXN5BVBK433C5SVSSBXWB5JLJ7NID
Show 8 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/EO26WBHQRMWTS44M5VLZJIJZOIGJYL3A
github.com/advisories/GHSA-cpj6-8368-p538
github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1231.json
security-tracker.debian.org/tracker/CVE-2022-1231
ubuntu.com/security/CVE-2022-1231
cve.org/CVERecord?id=CVE-2022-1231
ubuntu.com/security/notices/USN-7353-1
suse.com/security/cve/CVE-2022-1231