Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.platform/xwiki-platform-web-templates
  4. ›
  5. CVE-2023-35159

CVE-2023-35159: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

June 22, 2023 (updated June 30, 2023)

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 deletespace template to perform a XSS, e.g. by using URL such as: > xwiki/bin/deletespace/Sandbox/?xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 3.4-milestone-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.

References

  • github.com/advisories/GHSA-x234-mg7q-m8g8
  • github.com/xwiki/xwiki-platform/commit/5c20ff5e3bdea50f1053fe99a27e011b8d0e4b34
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-x234-mg7q-m8g8
  • jira.xwiki.org/browse/XWIKI-20583
  • jira.xwiki.org/browse/XWIKI-20612
  • nvd.nist.gov/vuln/detail/CVE-2023-35159

Code Behaviors & Features

Detect and mitigate CVE-2023-35159 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.4-milestone-1 before 14.10.5, all versions starting from 15.0-rc-1 before 15.1-rc-1

Fixed versions

  • 14.10.5
  • 15.1-rc-1

Solution

Upgrade to versions 14.10.5, 15.1-rc-1 or above. *Note*: 15.1-rc-1 may be an unstable version. Use caution.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.xwiki.platform/xwiki-platform-web-templates/CVE-2023-35159.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.