Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.contrib.plantuml/macro-plantuml-macro
  4. ›
  5. CVE-2026-42140

CVE-2026-42140: XWiki PlantUML Macro Vulnerable to Server-Side Request Forgery (SSRF) via 'server' parameter

May 5, 2026

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 affects all versions of the Plant UML Macro extension till version 2.4 included.

References

  • github.com/advisories/GHSA-42fc-7w97-8vrc
  • github.com/xwiki-contrib/macro-plantuml
  • github.com/xwiki-contrib/macro-plantuml/commit/c8b19bda93058794e04c8862fc7ca85c59b5fe5c
  • github.com/xwiki-contrib/macro-plantuml/security/advisories/GHSA-42fc-7w97-8vrc
  • jira.xwiki.org/browse/PLANTUML-25
  • nvd.nist.gov/vuln/detail/CVE-2026-42140

Code Behaviors & Features

Detect and mitigate CVE-2026-42140 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.1

Fixed versions

  • 2.4.1

Solution

Upgrade to version 2.4.1 or above.

Impact 4.4 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

maven/org.xwiki.contrib.plantuml/macro-plantuml-macro/CVE-2026-42140.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 06 May 2026 00:19:30 +0000.