Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the DeleteApplication page to perform a XSS, e.g. by using URL such as: > xwiki/bin/view/AppWithinMinutes/DeleteApplication?appName=Menu&resolve=true&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 6.2-milestone-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.
Remediation
References
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4xm7-5q79-3fch
https://jira.xwiki.org/browse/XWIKI-20614
https://github.com/xwiki/xwiki-platform/commit/8f5a889b7cd140770e54f5b4195d88058790e305
https://jira.xwiki.org/browse/XWIKI-20583
Related Vulnerabilities
CVE-2018-1999045 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2014-0227 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2023-26470 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore
CVE-2015-8855 Vulnerability in maven package org.webjars.bower:semver
CVE-2021-1626 Vulnerability in maven package org.mule.runtime:mule