{"id":"CVE-2022-1231","aliases":["DEBIAN-CVE-2022-1231","EUVD-2022-24568","GHSA-cpj6-8368-p538","UBUNTU-CVE-2022-1231","USN-7353-1","openSUSE-SU-2024:12011-1"],"status":"published","title":"XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml","description":"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).","severity":{"version":"3.0","score":9.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01956,"percentile":0.8042,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-04-15T15:05:10Z","modified":"2026-10-28T10:25:31Z","fixes":[{"ecosystem":"Debian:13","package":"plantuml","fixed_in":["1:1.2020.2+ds-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"plantuml","fixed_in":["1:1.2020.2+ds-6"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"plantuml","fixed_in":["8024-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"plantuml","fixed_in":["1:1.2017.15-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"plantuml","fixed_in":["1:1.2018.13+ds-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"plantuml","fixed_in":["1:1.2020.2+ds-1ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"plantuml","fixed_in":["1:1.2020.2+ds-3ubuntu1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"]},{"source":"osv","ecosystem":"Debian:13","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2020.2+ds-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2020.2+ds-6"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8024-2ubuntu0.1~esm1"}]}],"versions":["8024-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2017.15-1ubuntu0.1~esm1"}]}],"versions":["8039-1","1:1.2017.15-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2018.13+ds-2ubuntu0.1~esm1"}]}],"versions":["1:1.2018.13+ds-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2020.2+ds-1ubuntu0.1"}]}],"versions":["1:1.2020.2+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2020.2+ds-3ubuntu1.1"}]}],"versions":["1:1.2020.2+ds-3","1:1.2020.2+ds-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8024-2ubuntu0.1~esm1"}]}],"versions":["8024-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2017.15-1ubuntu0.1~esm1"}]}],"versions":["8039-1","1:1.2017.15-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2018.13+ds-2ubuntu0.1~esm1"}]}],"versions":["1:1.2018.13+ds-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2020.2+ds-1ubuntu0.1"}]}],"versions":["1:1.2020.2+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"plantuml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2020.2+ds-3ubuntu1.1"}]}],"versions":["1:1.2020.2+ds-3","1:1.2020.2+ds-3ubuntu1"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"plantuml","product":"plantuml"},{"vendor":"plantuml","product":"plantuml/plantuml"}],"references":[{"url":"https://huntr.dev/bounties/27db9509-6cd3-4148-8d70-5942f3837604","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/plantuml/plantuml/commit/c9137be051ce98b3e3e27f65f54ec7d9f8886903","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FQMHXN5BVBK433C5SVSSBXWB5JLJ7NID/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EO26WBHQRMWTS44M5VLZJIJZOIGJYL3A/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1231","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FQMHXN5BVBK433C5SVSSBXWB5JLJ7NID/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EO26WBHQRMWTS44M5VLZJIJZOIGJYL3A/"},{"url":"https://github.com/advisories/GHSA-cpj6-8368-p538"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1231.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-1231","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-1231","tags":["report"]},{"url":"https://huntr.dev/bounties/27db9509-6cd3-4148-8d70-5942f3837604/","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-1231","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7353-1","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2022-1231","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-1231","title":"XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml","description":"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).","status":"published","published":"2022-04-15T15:05:10Z","modified":"2024-08-02T23:55:24.417Z","cvss":[{"version":"3.0","score":9.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","level":"critical","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:38.263045Z"}],"euvd":[{"id":"EUVD-2022-24568","description":"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).","status":"published","published":"2022-04-15T15:05:10Z","modified":"2024-08-02T23:55:24Z","cvss":[{"version":"3.0","score":9.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","level":"critical"}],"updated_at":"2026-11-03T03:26:01.998866Z"}],"ghsa":[{"id":"GHSA-cpj6-8368-p538","title":"XSS via Embedded SVG in SVG Diagram Format in GitHub repository plantuml/plantuml prior to 1.2022...","description":"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).","status":"published","published":"2022-04-16T00:00:51Z","modified":"2023-01-27T05:01:41Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:41:56.851256Z"}],"nvd":[{"id":"CVE-2022-1231","description":"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).","status":"published","published":"2022-04-15T15:15:12.133Z","modified":"2026-06-17T04:22:03.487Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.0","score":9.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","level":"critical","assessor":"secondary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:15.414503Z"}],"osv":[{"id":"CVE-2022-1231","title":"XSS via Embedded SVG in SVG Diagram Format in plantuml/plantuml","description":"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).","status":"published","published":"2022-04-15T15:05:10Z","modified":"2026-10-28T10:25:31.322517979Z","cvss":[{"version":"3.0","score":9.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","level":"critical"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:23.245966Z"},{"id":"DEBIAN-CVE-2022-1231","description":"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).","status":"published","published":"2022-04-15T15:15:12.133Z","modified":"2026-11-03T08:01:49.187502373Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T08:24:50.542442Z"},{"id":"UBUNTU-CVE-2022-1231","description":"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).","status":"published","published":"2022-04-15T15:15:00Z","modified":"2026-02-04T04:14:26.368132Z","cvss":[{"version":"3.0","score":9.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","level":"critical"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:53:51.630172Z"},{"id":"openSUSE-SU-2024:12011-1","title":"plantuml-1.2022.4-1.1 on GA media","description":"These are all security issues fixed in the plantuml-1.2022.4-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:02:48.792473Z","updated_at":"2026-11-02T16:58:35.485255Z"},{"id":"USN-7353-1","title":"plantuml vulnerability","description":"Tobias S. Fink discovered that PlantUML was susceptible to cross-site\nscripting attacks (XSS) in instances where SVG images were rendered.\nAn attacker could possibly use this issue to cause PlantUML to crash,\nresulting in a denial of service, or the execution of arbitrary code.\n","status":"published","published":"2025-03-17T13:02:13Z","modified":"2026-06-25T13:32:30.352218094Z","updated_at":"2026-11-02T16:58:19.988474Z"}]}}
