XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.
Summary
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).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| plantuml | plantuml/plantuml | before 1.2022.4 | 1.2022.4 | Patch available | CNA |
- plantuml/plantuml Vendorplantuml Affected before 1.2022.4 Fixed in 1.2022.4 Patch available CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:plantuml:plantuml:*:*:*:*:*:*:*:* | before 1.2022.4 | Vulnerable | plantuml |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
- cpe:2.3:a:plantuml:plantuml:*:*:*:*:*:*:*:* Versions before 1.2022.4 Vulnerable ·plantuml
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
Remediation
- Fix · CNA plantuml/plantuml (plantuml) Fixed in 1.2022.4
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-1231
- 2026-10-03 Alias added: GHSA-cpj6-8368-p538
References
More Plantuml vulnerabilities
- TI-2023-03207 Server-Side Request Forgery (SSRF) in plantuml/plantuml CVSS 3.1CRITICAL 10.0
- TI-2022-01260 URL Restriction Bypass in plantuml/plantuml CVSS 3.1CRITICAL 9.1
- TI-2023-03206 Improper Access Control in plantuml/plantuml CVSS 3.1MEDIUM 5.3
- TI-2026-00639 Cross-site scripting in net.sourceforge.plantuml:plantuml CVSS 4.0MEDIUM 5.1
Sources
- CVE-2022-1231 · CVE Program
- CVE-2022-1231 · NVD
- FIRST EPSS
- GHSA-cpj6-8368-p538 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-1231 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences