CVE-2026-42140: XWiki PlantUML Macro Vulnerable to Server-Side Request Forgery (SSRF) via 'server' parameter
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.
References
- github.com/advisories/GHSA-42fc-7w97-8vrc
- github.com/xwiki-contrib/macro-plantuml
- github.com/xwiki-contrib/macro-plantuml/commit/c8b19bda93058794e04c8862fc7ca85c59b5fe5c
- github.com/xwiki-contrib/macro-plantuml/security/advisories/GHSA-42fc-7w97-8vrc
- jira.xwiki.org/browse/PLANTUML-25
- nvd.nist.gov/vuln/detail/CVE-2026-42140
Code Behaviors & Features
Detect and mitigate CVE-2026-42140 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →