Server-Side Request Forgery (SSRF) in PlantUML Macro via 'server' parameter
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | macro-plantuml | before 2.4.1 | 2.4.1 | Patch available | CNA |
| — | org.xwiki.contrib.plantuml:macro-plantuml-macro (Maven) | before 2.4.1 | 2.4.1 | Patch available | GHSA-42fc-7w97-8vrc |
- macro-plantuml VendorXWiki Affected before 2.4.1 Fixed in 2.4.1 Patch available CNA
- org.xwiki.contrib.plantuml:macro-plantuml-macro (Maven) Vendor— Affected before 2.4.1 Fixed in 2.4.1 Patch available GHSA-42fc-7w97-8vrc
Remediation
- Fix · CNA macro-plantuml (xwiki-contrib) Fixed in 2.4.1
- Fix · GHSA-42fc-7w97-8vrc org.xwiki.contrib.plantuml:macro-plantuml-macro (Maven) Fixed in 2.4.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42140
- 2026-10-03 Alias added: GHSA-42fc-7w97-8vrc
References
More XWiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-42140 · CVE Program
- CVE-2026-42140 · NVD
- FIRST EPSS
- GHSA-42fc-7w97-8vrc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences