XWiki - Cross-Site Scripting
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. 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 Remediation: Update to a version later than 17.10.0 or apply the patch to templates/changesdoc.vm manually.
url