CVE-2022-1231: XSS via Embedded SVG in SVG Diagram Format in GitHub repository plantuml/plantuml prior to 1.2022.4
CVE-2022-1231 is a medium-severity flaw (CVSS 6.1) affecting plantuml, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 2.0% (top 20%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2022-04-15 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-1231?
plantuml: upgrade to 1.2022.4; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-1231 being exploited?
CVE-2022-1231 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-1231 affect?
CVE-2022-1231 affects plantuml, fedora. Severity is medium (CVSS 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
How urgent is CVE-2022-1231?
Priority 46/100. Public exploit reference
Software pages
Related CVEs
- CVE-2026-0858 MEDIUM 6.1 UPGRADE Versions of the package net.sourceforge.plantuml:plantuml before 1.2026.0 are vulnerable to Stored XSS due to
- CVE-2023-3432 CRITICAL 10.0 UPGRADE MITIGATE Server-Side Request Forgery (SSRF) in GitHub repository plantuml/plantuml prior to 1.2023.9.
- CVE-2023-3431 MEDIUM 5.3 UPGRADE MITIGATE Improper Access Control in GitHub repository plantuml/plantuml prior to 1.2023.9.
- CVE-2022-1379 CRITICAL 9.1 UPGRADE MITIGATE URL Restriction Bypass in GitHub repository plantuml/plantuml prior to V1.2022.5
- CVE-2020-36523 LOW 3.5 DOWNGRADE A vulnerability was found in PlantUML 6.43