CVE-2026-42140

Source
https://cve.org/CVERecord?id=CVE-2026-42140
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42140.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42140
Aliases
Published
2026-05-04T17:37:09.481Z
Modified
2026-07-08T08:02:13.154320577Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Server-Side Request Forgery (SSRF) in PlantUML Macro via 'server' parameter
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42140.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-918"
    ]
}
References

Affected packages

Git / github.com/xwiki-contrib/macro-plantuml

Affected ranges

Type
GIT
Repo
https://github.com/xwiki-contrib/macro-plantuml
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.4.1"
        }
    ]
}

Affected versions

macro-plantuml-1.*
macro-plantuml-1.0
macro-plantuml-1.1
macro-plantuml-2.*
macro-plantuml-2.0
macro-plantuml-2.0.1
macro-plantuml-2.0.2
macro-plantuml-2.1
macro-plantuml-2.1.1
macro-plantuml-2.2.0
macro-plantuml-2.3.0
macro-plantuml-2.3.1
macro-plantuml-2.3.2
macro-plantuml-2.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42140.json"