Skip to content
Heist/ feed
Back to feed
MediumFix available

plantuml — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-1231

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

Products
plantuml
Affected versions
1:1.2020.2+ds-3, 1:1.2020.2+ds-4, 1:1.2020.2+ds-5, 1:1.2020.2+ds-6, 1:1.2026.2+ds-1, 1:1.2026.2+ds-2, 1:1.2026.2+ds-3
Fixed versions
1:1.2020.2+ds-6
CVEs
CVE-2022-1231
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:40 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-1231

core-osv · Original source

Published 15 Apr 2022, 15:15 UTC

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

osv:DEBIAN-CVE-2022-1231

plantuml

Fixed versions: Not specified

plantuml

Fixed versions: 1:1.2020.2+ds-6

plantuml

Fixed versions: 1:1.2020.2+ds-6

Complete source record
{
  "id": "45b096eba590d56dcdb1df86d0e683e7c8d5c5c2b4ed5df9a8da195a7a91b502",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-1231",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-1231",
    "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).",
    "evidence": "osv:DEBIAN-CVE-2022-1231",
    "products": [
      {
        "name": {
          "value": "plantuml",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:1.2020.2+ds-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:1.2020.2+ds-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:1.2020.2+ds-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:1.2020.2+ds-6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:1.2026.2+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:1.2026.2+ds-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:1.2026.2+ds-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "plantuml",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:1.2020.2+ds-6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "plantuml",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:1.2020.2+ds-6",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2022-1231",
      "aliases": [
        "DEBIAN-CVE-2022-1231"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "plantuml",
            "purl": "pkg:deb/debian/plantuml?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1:1.2020.2+ds-3",
            "1:1.2020.2+ds-4",
            "1:1.2020.2+ds-5",
            "1:1.2020.2+ds-6",
            "1:1.2026.2+ds-1",
            "1:1.2026.2+ds-2",
            "1:1.2026.2+ds-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-1231.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:1.2020.2+ds-6"
                }
              ]
            }
          ],
          "package": {
            "name": "plantuml",
            "purl": "pkg:deb/debian/plantuml?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-1231.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:1.2020.2+ds-6"
                }
              ]
            }
          ],
          "package": {
            "name": "plantuml",
            "purl": "pkg:deb/debian/plantuml?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-1231.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:01:21.988354300Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-1231"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-1231"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-1231",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 322926,
  "published_at": "2022-04-15T15:15:12.133+00:00"
}