CVE-2026-42140

Medium

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.

SeverityMedium
CVSS4.4
Exploit probability—
ProductOrg.xwiki.contrib.plantuml:macro-plantuml-macro
PublishedMay 4, 2026
First seenMay 4, 2026

How to fix

Update
  • org.xwiki.contrib.plantuml:macro-plantuml-macro2.4.1 or later

Affected products

ProductAffected versionsFixed in
org.xwiki.contrib.plantuml:macro-plantuml-macroMavenv < 2.4.12.4.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.