CVE-2026-42140 in Diagrams products
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 s...
Affects 0 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-42140 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-079781-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
| Published | 2026-05-04 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-918: Server-Side Request Forgery (SSRF)
Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.
Related attack patterns (CAPEC)
CAPEC-664 Server Side Request Forgery via CWE-918
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
PlantUML Macro prior to version 2.4.1 is vulnerable to Server-Side Request Forgery (SSRF) due to improper validation of the server parameter, allowing attackers to specify arbitrary URLs.
An attacker can exploit this vulnerability by providing a malicious URL to the server parameter in the PlantUML Macro. This can lead to the application making requests to internal IP addresses or external malicious servers, potentially leading to data exfiltration or other attacks.
Questions
What is CVE-2026-42140?
PlantUML Macro prior to version 2.4.1 is vulnerable to Server-Side Request Forgery (SSRF) due to improper validation of the server parameter, allowing attackers to specify arbitrary URLs.
What is the CVSS score for CVE-2026-42140?
CVE-2026-42140 has CVSS 4.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N. EPSS: 0.3%.
Is CVE-2026-42140 actively exploited?
No confirmed active exploitation of CVE-2026-42140 as of 2026-11-03.
How do I remediate CVE-2026-42140?
Priority: MEDIUM.
What systems are affected by CVE-2026-42140?
CVE-2026-42140 affects Diagrams; Plantuml; Simple; Xwiki.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Diagrams","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.