CVE-2023-35156

XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in delete template

State
Published
Severity
9.7 Critical
Published
Jun 23, 2023
Updated
Nov 27, 2024
Reserved
Jun 14, 2023

Read the record on cve.org

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 delete template to perform a XSS, e.g. by using URL such as: > xwiki/bin/get/FlamingoThemes/Cerulean?xpage=xpart&vm=delete.vm&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 6.0-rc-1. The vulnerability has been patched in XWiki 14.10.6 and 15.1. Note that a partial patch has been provided in 14.10.5 but wasn't enough to entirely fix the vulnerability.

Scores

CVSSScoreVectorSource
3.19.7 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-87 Improper Neutralization of Alternate XSS Syntax

Affected Products

ProductVersions
xwiki-platformxwiki
  • >= 6.0-rc-1, < 14.10.6Affected
  • >= 15.0-rc-0, < 15.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.