CVE-2023-26479: xwiki vulnerable to Improper Handling of Exceptional Conditions
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.34917%
CWE
Published
3/3/2023
Updated
3/3/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.xwiki.platform:xwiki-platform-rendering-parser | maven | >= 6.0, < 13.10.10 | 13.10.10 |
| org.xwiki.platform:xwiki-platform-rendering-parser | maven | >= 14.0, < 14.4.6 | 14.4.6 |
| org.xwiki.platform:xwiki-platform-rendering-parser | maven | >= 14.5, < 14.9-rc-1 | 14.9-rc-1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the parser's inability to handle StackOverflowErrors caused by deeply nested structures. The key evidence is in the commit diff showing the addition of a try-catch block in DefaultContentParser.java to wrap parser.parse() calls and convert StackOverflowError/Exceptions into ParseExceptions. Prior to this fix, the method lacked error handling for these conditions, making it the root cause of unhandled exceptional states. The test cases added in DefaultContentParserTest.java also explicitly verify proper handling of StackOverflowErrors during parsing, confirming this was the vulnerable entry point.