CVE-2026-42140
Description
PlantUML Macro is a macro for rendering UML diagrams from simple textual schemes. Prior to version 2.4.1, 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 has been patched in version 2.4.1.
How to fix
- org.xwiki.contrib.plantuml:macro-plantuml-macro2.4.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.contrib.plantuml:macro-plantuml-macroMaven | v < 2.4.1 | 2.4.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.