CVE-2026-40105

Source
https://cve.org/CVERecord?id=CVE-2026-40105
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40105.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40105
Aliases
Published
2026-04-15T00:07:23.150Z
Modified
2026-07-15T01:48:57.091533972Z
Severity
  • 6.5 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H CVSS Calculator
Summary
XWiki has Reflected Cross-Site Scripting (XSS) in its page history compare functionality
Details

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Versions 10.4-rc-1, through 16.10.15, 17.0.0-rc-1, through 17.4.7 and 17.5.0-rc-1 through 17.10.0 contain a reflected cross-site scripting vulnerability (XSS) in the comparison view between revisions of a page allows executing JavaScript code in the user's browser. If the current user is an admin, this can not only affect the current user but also the confidentiality, integrity and availability of the whole XWiki instance. If developers are unable to update immediately, they can apply the patch manually to templates/changesdoc.vm in the deployed WAR.

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

Affected packages

Git / github.com/xwiki/xwiki-commons

Affected ranges

Type
GIT
Repo
https://github.com/xwiki/xwiki-commons
Events
Database specific
{
    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "10.4"
        },
        {
            "fixed": "16.10.16"
        },
        {
            "introduced": "17.0.0"
        },
        {
            "fixed": "17.4.8"
        },
        {
            "introduced": "17.5.0"
        },
        {
            "fixed": "17.10.1"
        }
    ]
}
Type
GIT
Repo
https://github.com/xwiki/xwiki-platform
Events
Database specific
{
    "cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "10.4"
        },
        {
            "fixed": "16.10.16"
        },
        {
            "introduced": "17.0.0"
        },
        {
            "fixed": "17.4.8"
        },
        {
            "introduced": "17.5.0"
        },
        {
            "fixed": "17.10.1"
        }
    ]
}

Database specific

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