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-2023-26473 Vulnerability in maven package org.xwiki.platform:xwiki-platform-query-manager
CVE-2019-1003049 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2023-34462 Vulnerability in maven package io.netty:netty-handler
CVE-2022-33140 Vulnerability in maven package org.apache.nifi:nifi
CVE-2023-41329 Vulnerability in maven package com.github.tomakehurst:wiremock-jre8-standalone