CVE-2026-42140 Server-Side Request Forgery (SSRF) in PlantUML Macro via 'server' parameter
MediumCVSS 4.4
EPSS 0.18%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.xwiki.contrib.plantuml/macro-plantuml-macro(Maven) | < 2.4.1 | 2.4.1 | Fixed |
| xwiki-contrib macro-plantuml | = < 2.4.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xwiki-contrib macro-plantuml | = < 2.4.1 | No fix listed |
| org.xwiki.contrib.plantuml/macro-plantuml-macro(Maven) | < 2.4.1 | 2.4.1 |
References
- https://github.com/xwiki-contrib/macro-plantuml/security/advisories/GHSA-42fc-7w97-8vrc vendor-advisory
- https://github.com/xwiki-contrib/macro-plantuml/commit/c8b19bda93058794e04c8862fc7ca85c59b5fe5c patch
- https://jira.xwiki.org/browse/PLANTUML-25
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com