cve/2022/CVE-2022-1231.md

18 lines
1.1 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-1231](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1231)
![](https://img.shields.io/static/v1?label=Product&message=plantuml%2Fplantuml&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%201.2022.4%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20('Cross-site%20Scripting')&color=brighgreen)
### 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).
### POC
#### Reference
- https://huntr.dev/bounties/27db9509-6cd3-4148-8d70-5942f3837604
#### Github
No PoCs found on GitHub currently.