Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.platform/xwiki-platform-rendering-parser
  4. ›
  5. CVE-2023-26479

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

March 3, 2023

XWiki Platform is a generic wiki platform. Starting in version 6.0, users with write rights can insert well-formed content that is not handled well by the parser. As a consequence, some pages becomes unusable, including the user index (if the page containing the faulty content is a user page) and the page index. Note that on the page, the normal UI is completely missing and it is not possible to open the editor directly to revert the change as the stack overflow is already triggered while getting the title of the document. This means that it is quite difficult to remove this content once inserted. This has been patched in XWiki 13.10.10, 14.4.6, and 14.9-rc-1. A temporary workaround to avoid Stack Overflow errors is to increase the memory allocated to the stack by using the -Xss JVM parameter (e.g., -Xss32m). This should allow the parser to pass and to fix the faulty content. The consequences for other aspects of the system (e.g., performance) are unknown, and this workaround should be only be used as a temporary solution. The workaround does not prevent the issue occurring again with other content. Consequently, it is strongly advised to upgrade to a version where the issue has been patched.

References

  • github.com/advisories/GHSA-52vf-hvv3-98h7
  • github.com/xwiki/xwiki-platform/commit/e5b82cd98072464196a468b8f7fe6396dce142a7
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-52vf-hvv3-98h7
  • jira.xwiki.org/browse/XWIKI-19838
  • nvd.nist.gov/vuln/detail/CVE-2023-26479

Code Behaviors & Features

Detect and mitigate CVE-2023-26479 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 6.0 before 13.10.10, all versions starting from 14.0 before 14.4.6, all versions starting from 14.5 before 14.9-rc-1

Fixed versions

  • 13.10.10
  • 14.4.6
  • 14.9-rc-1

Solution

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

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

maven/org.xwiki.platform/xwiki-platform-rendering-parser/CVE-2023-26479.yml

Spotted a mistake? Edit the file on GitLab.

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

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