CVE-2022-1231
XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml
Reported by @huntrdev · Published April 15, 2022
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| plantuml/plantuml | plantuml | 1.2022.4 |
| plantuml | plantuml | 1.2022.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| plantuml | plantuml/plantuml | unspecified |
| plantuml | plantuml/plantuml | * |
Timeline
- Apr 15, 2022 CVE Published
- Apr 16, 2022 EPSS Score (30 in total, the first dated here)
- Aug 2, 2024 CVE Updated
- Apr 9, 2026 Security Advisory
- Jul 11, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-1231
vulnetix vdb fixes CVE-2022-1231
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-1231/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- FEDORA-2022-e8b1324ec8 vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-930b54aa84 vendor-advisoryx_refsource_FEDORA