CVE-2026-42140
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
4.4
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-05-04 18:16:31.677000
Last modified
2026-10-26 19:10:00.163000
View original CVE JSON
{
"id": "CVE-2026-42140",
"sourceIdentifier": "[email protected]",
"published": "2026-05-04T18:16:31.677",
"lastModified": "2026-10-26T19:10:00.163",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Macro PlantUML es una macro para renderizar diagramas UML a partir de esquemas textuales simples. Antes de la versión 2.4.1, la Macro PlantUML es vulnerable a falsificación de petición del lado del servidor (SSRF). La macro permite a los usuarios especificar un servidor PlantUML alternativo a través del parámetro ’server’. Sin embargo, la aplicación no valida la URL proporcionada. Un atacante puede proporcionar una dirección IP interna o una URL externa maliciosa. El servidor XWiki intentará conectarse a esta URL para ’renderizar’ el diagrama. Este problema ha sido parcheado en la versión 2.4.1."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "xwiki-contrib",
"product": "macro-plantuml",
"versions": [
{
"version": "< 2.4.1",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N",
"baseScore": 4.4,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 1.3,
"impactScore": 2.7
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-05-04T19:51:44.271981Z",
"id": "CVE-2026-42140",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-918"
}
]
}
],
"references": [
{
"url": "https://github.com/xwiki-contrib/macro-plantuml/commit/c8b19bda93058794e04c8862fc7ca85c59b5fe5c",
"source": "[email protected]"
},
{
"url": "https://github.com/xwiki-contrib/macro-plantuml/security/advisories/GHSA-42fc-7w97-8vrc",
"source": "[email protected]"
},
{
"url": "https://jira.xwiki.org/browse/PLANTUML-25",
"source": "[email protected]"
}
]
}