CVE-2023-29207
Description
XWiki Commons are technical libraries common to several other top level XWiki projects. The Livetable Macro wasn't properly sanitizing column names, thus allowing the insertion of raw HTML code including JavaScript. This vulnerability was also exploitable via the Documents Macro that is included since XWiki 3.5M1 and doesn't require script rights, this can be demonstrated with the syntax `{{documents id="example" count="5" actions="false" columns="doc.title, before<script>alert(1)</script>after"/}}`. Therefore, this can also be exploited by users without script right and in comments. With the interaction of a user with more rights, this could be used to execute arbitrary actions in the wiki, including privilege escalation, remote code execution, information disclosure, modifying or deleting content. This has been patched in XWiki 14.9, 14.4.6, and 13.10.10.
How to fix
- xwiki xwiki13.10.10, 14.4.6, 14.9 or later
- org.xwiki.platform:xwiki-platform-flamingo-skin-resources13.10.10, 14.4.6, 14.9 or later
- org.xwiki.platform:xwiki-platform-flamingo-skin13.10.10, 14.4.6, 14.9 or later
- org.xwiki.platform:xwiki-platform-flamingo13.10.10, 14.4.6, 14.9 or later
- org.xwiki.platform:xwiki-platform-web-templates13.10.10, 14.4.6, 14.9 or later
- org.xwiki.platform:xwiki-platform-web13.10.10, 14.4.6, 14.9 or later
- org.xwiki.platform:xwiki-web-standard13.10.10, 14.4.6, 14.9 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xwiki xwiki | 1.9 ≤ v < 13.10.10, 14.0 ≤ v < 14.4.6, 14.5 ≤ v < 14.9, 1.9 | 13.10.10, 14.4.6, 14.9 |
| org.xwiki.platform:xwiki-platform-flamingo-skin-resourcesMaven | 1.9-milestone-2 ≤ v < 13.10.10, 14.0-rc-1 ≤ v < 14.4.6, 14.5 ≤ v < 14.9 | 13.10.10, 14.4.6, 14.9 |
| org.xwiki.platform:xwiki-platform-flamingo-skinMaven | 1.9-milestone-2 ≤ v < 13.10.10, 14.0-rc-1 ≤ v < 14.4.6, 14.5 ≤ v < 14.9 | 13.10.10, 14.4.6, 14.9 |
| org.xwiki.platform:xwiki-platform-flamingoMaven | 1.9-milestone-2 ≤ v < 13.10.10, 14.0-rc-1 ≤ v < 14.4.6, 14.5 ≤ v < 14.9 | 13.10.10, 14.4.6, 14.9 |
| org.xwiki.platform:xwiki-platform-web-templatesMaven | 1.9-milestone-2 ≤ v < 13.10.10, 14.0-rc-1 ≤ v < 14.4.6, 14.5 ≤ v < 14.9 | 13.10.10, 14.4.6, 14.9 |
| org.xwiki.platform:xwiki-platform-webMaven | 1.9-milestone-2 ≤ v < 13.10.10, 14.0-rc-1 ≤ v < 14.4.6, 14.5 ≤ v < 14.9 | 13.10.10, 14.4.6, 14.9 |
| org.xwiki.platform:xwiki-web-standardMaven | 1.9-milestone-2 ≤ v < 13.10.10, 14.0-rc-1 ≤ v < 14.4.6, 14.5 ≤ v < 14.9 | 13.10.10, 14.4.6, 14.9 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.