GHSA-42fc-7w97-8vrc

Suggest an improvement
Source
https://github.com/advisories/GHSA-42fc-7w97-8vrc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-42fc-7w97-8vrc/GHSA-42fc-7w97-8vrc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-42fc-7w97-8vrc
Aliases
Published
2026-05-05T19:32:57Z
Modified
2026-05-05T19:56:33Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
XWiki PlantUML Macro Vulnerable to Server-Side Request Forgery (SSRF) via 'server' parameter
Details

Impact

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.

Patches

Version 2.4.1 of the Plant UML Macro extension fixes the issue by verifying if the supplied server domain matches one of the trusted domain configured inside of XWiki.

Workarounds

Protect the XWiki server by placing it in a DMZ so that it cannot access any other internal servers.

Resources

The issue was fixed in PLANTUML-25 by the commit c8b19bda93058794e04c8862fc7ca85c59b5fe5c.

For more information

If there are any questions or comments about this advisory:

Attribution

The issue was reported by Łukasz Rybak.

Database specific
{
    "cwe_ids": [
        "CWE-918"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-05T19:32:57Z",
    "nvd_published_at": "2026-05-04T18:16:31Z",
    "severity": "MODERATE"
}
References

Affected packages

Maven / org.xwiki.contrib.plantuml:macro-plantuml-macro

Package

Name
org.xwiki.contrib.plantuml:macro-plantuml-macro
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.contrib.plantuml/macro-plantuml-macro

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.4.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-42fc-7w97-8vrc/GHSA-42fc-7w97-8vrc.json"