CVEfocus › CVE database › CVE-2022-1231

CVE-2022-1231XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml

CVSS 9.3 CriticalEPSS 1.8% (higher than 79% of CVEs)Published 2022-04-15Updated 2024-08-02Assigner: @huntrdev

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).

CWE-79

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
4Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04plantumlFixed1:1.2020.2+ds-3ubuntu1.1UBUNTU-CVE-2022-1231
Ubuntu 22.04plantumlFixed1:1.2020.2+ds-1ubuntu0.1UBUNTU-CVE-2022-1231
Ubuntu 20.04plantumlFix pending1:1.2018.13+ds-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2022-1231
Ubuntu 18.04plantumlFix pending1:1.2017.15-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2022-1231
Ubuntu 16.04plantumlFix pending8024-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2022-1231
Debian 14plantumlFixed1:1.2020.2+ds-6DEBIAN-CVE-2022-1231
Debian 13plantumlFixed1:1.2020.2+ds-6DEBIAN-CVE-2022-1231
Debian 12plantumlFix pendingDEBIAN-CVE-2022-1231

What the vendor says

As published in the CVE record by @huntrdev, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.