GHSA-hrvf-g648-rf3m
PlantUML is vulnerable to Stored XSS due to insufficient sanitization of interactive attributes in GraphViz diagrams
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | net.sourceforge.plantuml:plantuml | < 1.2026.0 | 1.2026.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
Versions of the package net.sourceforge.plantuml:plantuml before 1.2026.0 are vulnerable to Stored XSS due to insufficient sanitization of interactive attributes in GraphViz diagrams. As a result, a crafted PlantUML diagram can inject malicious JavaScript into generated SVG output, leading to arbitrary script execution in the context of applications that render the SVG.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2026-0858
- https://github.com/plantuml/plantuml/commit/6826315db092d2e432aeab1a0894e08017c6e4bd
- https://github.com/plantuml/plantuml
- https://github.com/plantuml/plantuml/releases/tag/v1.2026.0
- https://security.snyk.io/vuln/SNYK-JAVA-NETSOURCEFORGEPLANTUML-14552230