Every CVE Search/ Get API key

CVE-2022-1231

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

9.3 CriticalFix available

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

1.96%Down 0.5 points since Apr 16, 2022
90%50%10%1%

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 CriticalCVSS: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 CriticalCVSS: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 MediumCVSS: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 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 3.0
9.3 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
CVSS 2.0
4.3 MediumAV: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 CriticalCVSS: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 MediumCVSS: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 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 3.0
9.3 CriticalCVSS: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

Affected packages
PackageAffectedFixed
plantuml
Debian: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
plantuml
Debian:13
before 1:1.2020.2+ds-6
1:1.2020.2+ds-6
plantuml
Debian:14
before 1:1.2020.2+ds-6
1:1.2020.2+ds-6
plantuml
Ubuntu:Pro:16.04:LTS
before 8024-2ubuntu0.1~esm1, plus listed versions
8024-2
8024-2ubuntu0.1~esm1
plantuml
Ubuntu: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
plantuml
Ubuntu: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
plantuml
Ubuntu: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
plantuml
Ubuntu: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

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 8 moreShow less
MoveEnter Open