Vulnerability · Published May 4, 2026 · Assigned by GitHub_M
CVE-2026-42140Server-Side Request Forgery (SSRF) in PlantUML Macro via 'server' parameter
Medium 4.4
In plain English
A medium-severity server-side request forgery in macro-plantuml from xwiki-contrib. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.contrib.plantuml:macro-plantuml-macro | 2.4.1 | GHSA-42fc-7w97-8vrc |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki-contrib | macro-plantuml | < 2.4.1 |
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N