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

Published Apr 15, 2022
·
Updated

Last updated 18 March 2025

Other sources

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

MITRE

Affected Software

4 affected componentsFixes available
debian/plantuml<=1:1.2020.2+ds-1, <=1:1.2020.2+ds-3
1:1.2020.2+ds-6
plantuml plantuml<1.2022.4
Fedoraproject Fedora=35
Fedoraproject Fedora=36

Event History

Apr 15, 2022
CVE Published
via MITRE·03:05 PM
Data Sourced
via MITRE·03:05 PM
DescriptionSeverityWeakness
Mar 18, 2025
Data Sourced
via Launchpad·01:55 AM
Description
Mar 22, 2025
Data Sourced
via Ubuntu·01:54 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-1231?

CVE-2022-1231 has a high severity due to the potential for stored XSS attacks that can lead to account hijacking and code execution.

2

How do I fix CVE-2022-1231?

To fix CVE-2022-1231, upgrade PlantUML to version 1.2022.4 or later.

3

Which versions of PlantUML are affected by CVE-2022-1231?

CVE-2022-1231 affects PlantUML versions prior to 1.2022.4.

4

What types of attacks can be executed due to CVE-2022-1231?

CVE-2022-1231 can lead to attacks such as secret stealing, account hijacking, or even remote code execution.

5

Is CVE-2022-1231 specific to any operating systems?

Yes, CVE-2022-1231 specifically affects Fedora 35 and 36 when using PlantUML.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203