CVE-2022-1231
XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml
- State
- Published
- Severity
- 9.3 Critical
- Published
- Apr 15, 2022
- Updated
- Aug 2, 2024
- Reserved
- Apr 4, 2022
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).
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 9.3 Critical | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N | @huntrdev |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
plantuml/plantumlplantuml |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.