XWiki PlantUML Macro Vulnerable to Server-Side Request Forgery (SSRF) via 'server' parameter
Impact
The PlantUML Macro is vulnerable to Server-Side Request Forgery (SSRF). The macro allows users to specify an alternative PlantUML server via the server parameter. However, the application does not validate the supplied URL. An attacker can supply an internal IP address or a malicious external URL. The XWiki server will attempt to connect to this URL to "render" the diagram.
This issue affects all versions of the Plant UML Macro extension till version 2.4 included.
Patches
Version 2.4.1 of the Plant UML Macro extension fixes the issue by verifying if the supplied server domain matches one of the trusted domain configured inside of XWiki.
Workarounds
Protect the XWiki server by placing it in a DMZ so that it cannot access any other internal servers.
Resources
The issue was fixed in PLANTUML-25 by the commit c8b19bda93058794e04c8862fc7ca85c59b5fe5c.
For more information
If there are any questions or comments about this advisory:
- Open an issue in JIRA XWiki.org
- Send an email to Security Mailing List
Attribution
The issue was reported by Łukasz Rybak.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.xwiki.contrib.plantuml:macro-plantuml-macro | < 2.4.1 | 2.4.1 |
Verweise
- https://github.com/xwiki-contrib/macro-plantuml/security/advisories/GHSA-42fc-7w97-8vrc
- https://nvd.nist.gov/vuln/detail/CVE-2026-42140
- https://github.com/xwiki-contrib/macro-plantuml/commit/c8b19bda93058794e04c8862fc7ca85c59b5fe5c
- https://github.com/xwiki-contrib/macro-plantuml
- https://jira.xwiki.org/browse/PLANTUML-25
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N- Schwäche (CWE)
CWE-918- Plattform
- Java / Kotlin (Maven)
- Paket
org.xwiki.contrib.plantuml:macro-plantuml-macro- Veröffentlicht
- 05.05.2026
- Aktualisiert
- 11.10.2026 12:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-42fc-7w97-8vrc - CC BY 4.0
Schwachstellenhistorie: org.xwiki.contrib.plantuml:macro-plantuml-macro
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.