XSS in Plantuml

CVE-2022-1231

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

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.018 (76.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-1231?
CVE-2022-1231 is a medium-severity vulnerability in Plantuml, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2022-04-15.
How severe is CVE-2022-1231?
Medium severity. CVSS v3 base score is 6.1 out of 10.