VDB

CVE-2022-1231

CVE-2022-1231 PUBLISHED CVSS 9.3 CRITICAL

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.

PackageEcosystemFixed in
plantuml/plantumlplantuml1.2022.4
plantumlplantuml1.2022.4

Risk scores

CVSS 3.0
9.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

Affected products

VendorProductVersions
plantumlplantuml/plantumlunspecified
plantumlplantuml/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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›