CVE-2026-42140 json
Server-Side Request Forgery (SSRF) in PlantUML Macro via 'server' parameter
published 6mo ago modified 14d ago also GHSA-42fc-7w97-8vrc , EUVD-2026-27073
- cvss
- 4.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.xwiki.contrib.plantuml:macro-plantuml-macro 2.4.1
Is CVE-2026-42140 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6mo ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 4.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.contrib.plantuml:macro-plantuml-macro | <2.4.1 |
2.4.1 |
Affected products
- xwiki-contrib macro-plantuml
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/xwiki-contrib/macro-plantuml/commit/c8b19bda93058794e04c8862fc7ca85c59b5fe5c
web
-
github.com
/xwiki-contrib/macro-plantuml/security/advisories/GHSA-42fc-7w97-8vrc
web
-
jira.xwiki.org
/browse/PLANTUML-25
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-42140
advisory
-
github.com
/xwiki-contrib/macro-plantuml
package
Sources
- CVE List CVE-2026-42140
- GitHub Advisory GHSA-42fc-7w97-8vrc
- NVD CVE-2026-42140
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.