Skip to main content

PlantUML Macro CVE-2026-42140

| EUVDEUVD-2026-27073 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-04 GitHub_M GHSA-42fc-7w97-8vrc
4.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to XWiki wiki
  2. Delivery
    Create wiki page with malicious server parameter
  3. Exploit
    Specify internal IP or malicious URL in server field
  4. Execution
    Trigger page render by self or social engineer others
  5. Persist
    XWiki server makes unvalidated outbound request
  6. Impact
    Attacker probes internal network or receives connection attempt confirmation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The PlantUML Macro must be installed and enabled on the XWiki instance. An attacker must have authenticated access to create or edit wiki pages (PR:L in CVSS vector-can be any registered user or those with specific page edit permissions depending on XWiki access control configuration). The victim or another user must view or render the page containing the malicious macro (UI:R). The XWiki server must have network connectivity to make outbound HTTP/HTTPS requests; if the server is behind a firewall with strict egress filtering, exploitation is limited to reachable internal or external hosts. The vulnerability does not require any special macro parameters, configuration settings, or non-default installation-any standard deployment of the macro in versions before 2.4.1 is vulnerable once a user with edit permissions exists.

Impact

CVSS:3.1 score of 4.4 reflects attack vector (Network), moderate complexity (High), low privilege requirement (Authenticated), and required user interaction (Render). However, the scope change (S:C) signals impact beyond the vulnerable component. EPSS data not provided, limiting exploitation probability assessment. No public exploit code or KEV listing indicated, suggesting limited active exploitation at time of analysis. The practical risk depends critically on XWiki deployment: in closed organizations with trusted wiki authors, risk is low; in open wikis or those with untrusted contributors, risk increases substantially because attackers can trigger outbound requests from the server's IP range. The AC:H rating (High Complexity) likely reflects the requirement for user interaction (someone must render the macro) or configuration steps. Compared to typical network SSRF flaws (AV:N/AC:L/PR:N), this is less severe due to authentication and complexity requirements, but still exploitable by any authenticated wiki user without special privileges. The confidentiality impact is rated Low (C:L), implying information disclosure rather than code execution or service disruption.

Exploit ScenarioDerived

An authenticated wiki contributor (or attacker with wiki edit permissions) creates or edits a wiki page containing a PlantUML macro with server parameter set to an internal IP, such as {{plantuml server="http://192.168.1.1:8080"}}@startuml...{{/plantuml}}. When another wiki user (or administrator) views the page, the XWiki server makes an HTTP request to 192.168.1.1:8080, allowing the attacker to probe internal network topology, discover internal services (database, admin consoles, metadata servers), or exfiltrate data if internal services are vulnerable. No public exploit code is required-the vulnerability is trivial to exploit once a user has wiki edit access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 04, 2026

Server-Side Request Forgery (SSRF) in PlantUML Macro for XWiki prior to version 2.4.1 allows authenticated users with UI interaction to specify arbitrary PlantUML servers via the server parameter without validation. An attacker can redirect the XWiki server to connect to internal IP addresses or malicious external URLs, enabling reconnaissance of internal infrastructure or attacks on internal services. The vulnerability requires authenticated access and user interaction but operates across scope boundaries (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C). Vendor-released patch available in version 2.4.1.

RemediationAI

Upgrade PlantUML Macro to version 2.4.1 or later. This patched version enforces URL validation via XWiki Platform's URLSecurityManager, rejecting any server parameter value not in the configured trusted domain list. If immediate upgrade is not possible, implement network-level compensating controls: restrict outbound HTTP/HTTPS from the XWiki server to a whitelist of legitimate PlantUML server endpoints (e.g., only to the official PlantUML server or designated internal rendering server). Alternatively, disable the server parameter entirely by modifying wiki configuration or using macro parameter restrictions if XWiki supports this. Audit wiki pages for existing uses of the server parameter and verify they reference only legitimate servers. Monitor XWiki server outbound connections for suspicious destinations (internal IPs, private ranges 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or known malicious hosts). References: GitHub Security Advisory at https://github.com/xwiki-contrib/macro-plantuml/security/advisories/GHSA-42fc-7w97-8vrc and XWiki JIRA PLANTUML-25 at https://jira.xwiki.org/browse/PLANTUML-25.

Affected VersionsENISA

macro-plantuml < 2.4.1

Affected Packages

maven org.xwiki.contrib.plantuml:macro-plantuml-macro fix: 2.4.1
euvd macro_plantuml fix: 2.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The PlantUML Macro is an XWiki extension (CPE: cpe:2.3:a:xwiki-contrib:macro-plantuml) that allows wiki page authors to embed UML diagram definitions in a simple textual format and have them rendered as images via PlantUML, an open-source diagramming tool. The macro accepts a server parameter to specify an alternative PlantUML rendering server (instead of the public default). Prior to version 2.4.1, the macro passed user-supplied server URLs directly to HTTP requests without validating that the target domain was legitimate or trustworthy. CWE-918 (Server-Side Request Forgery) describes exactly this flaw: application-initiated outbound requests to URLs controlled or influenced by untrusted input. The fix implements URLSecurityManager from XWiki Platform to enforce a trusted domain whitelist, adding URL parsing and validation via isDomainTrusted() before any outbound connection attempt.

Know when Macro Plantuml gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 4.4 MEDIUM
AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
May 04, 2026 - 19:17 EUVD
CVE Published
May 04, 2026 - 17:37 nvd
MEDIUM 4.4

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy