CVE-2026-42140 PUBLISHED

Server-Side Request Forgery (SSRF) in PlantUML Macro via 'server' parameter

Assigner: GitHub_M
Reserved: 24.04.2026 Published: 04.05.2026 Updated: 04.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS Score: 4.4

Product Status

Vendor xwiki-contrib
Product macro-plantuml
Versions
  • Version < 2.4.1 is affected

References

Problem Types

  • CWE-918: Server-Side Request Forgery (SSRF) CWE