Improper Handling of Exceptional Conditions Affecting org.xwiki.platform:xwiki-platform-rendering-parser package, versions [6.0,13.10.10)[14.0-rc-1,14.9-rc-1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.09% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGXWIKIPLATFORM-3338541
  • published3 Mar 2023
  • disclosed3 Mar 2023
  • creditUnknown

Introduced: 3 Mar 2023

CVE-2023-26479  (opens in a new tab)
CWE-755  (opens in a new tab)

How to fix?

Upgrade org.xwiki.platform:xwiki-platform-rendering-parser to version 13.10.10, 14.9-rc-1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Exceptional Conditions such that users with write rights can insert well-formed content that is not handled well by the parser. As a consequence, some pages become unusable, including the user index (if the page containing the faulty content is a user page) and the page index.

Workaround

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 from occurring again with other content.

CVSS Scores

version 3.1