Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/xwiki-contrib/macro-plantuml/commit/c8b19bda93058794e04c8862f
- https://github.com/xwiki-contrib/macro-plantuml/security/advisories/GHSA-42fc-7w
- https://jira.xwiki.org/browse/PLANTUML-25
FAQ
What is CVE-2026-42140?
CVE-2026-42140 is a vulnerability with a CVSS score of 4.4 (MEDIUM). 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...
How severe is CVE-2026-42140?
CVE-2026-42140 has been rated MEDIUM with a CVSS base score of 4.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-42140?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.