# CVE-2026-42140: Server-Side Request Forgery (SSRF) in PlantUML Macro via 'server' parameter

- Severity: Medium 4.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-05-04T17:37:09.481Z
- Modified: 2026-10-26T19:10:00.163Z
- Also known as: GHSA-42fc-7w97-8vrc
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- xwiki-contrib macro-plantuml: < 2.4.1
- org.xwiki.contrib.plantuml:macro-plantuml-macro (Maven): before 2.4.1

## Every score

- GitHub_M: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/xwiki-contrib/macro-plantuml/security/advisories/GHSA-42fc-7w97-8vrc> (web)
- <https://github.com/xwiki-contrib/macro-plantuml/commit/c8b19bda93058794e04c8862fc7ca85c59b5fe5c> (web)
- <https://jira.xwiki.org/browse/PLANTUML-25> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42140> (advisory)
- <https://github.com/xwiki-contrib/macro-plantuml> (package)

## Sources

- CVE List: [CVE-2026-42140](https://www.cve.org/CVERecord?id=CVE-2026-42140), CVE Terms of Use, modified 2026-05-04
- GitHub Advisory Database: [GHSA-42fc-7w97-8vrc](https://github.com/advisories/GHSA-42fc-7w97-8vrc), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-42140](https://nvd.nist.gov/vuln/detail/CVE-2026-42140), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42140 · Whole record: https://cve.day/CVE-2026-42140.json · Rebuilt by cve.day 2026-11-25T22:59:20.543Z
