CVE-2023-29207Improper Neutralization of Script-Related HTML Tags (XSS) in the LiveTable Macro
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | org.xwiki.platform:xwiki-platform-flamingo | Fixed | 14.4.6 | GHSA-6vgh-9r3c-2cxp |
| Maven library | org.xwiki.platform:xwiki-platform-flamingo-skin | Fixed | 13.10.10 | GHSA-6vgh-9r3c-2cxp |
| Maven library | org.xwiki.platform:xwiki-platform-flamingo-skin-resources | Fixed | 13.10.10 | GHSA-6vgh-9r3c-2cxp |
| Maven library | org.xwiki.platform:xwiki-platform-web | Fixed | 14.9 | GHSA-6vgh-9r3c-2cxp |
| Maven library | org.xwiki.platform:xwiki-platform-web-templates | Fixed | 14.9 | GHSA-6vgh-9r3c-2cxp |
| Maven library | org.xwiki.platform:xwiki-web-standard | Fixed | 14.4.6 | GHSA-6vgh-9r3c-2cxp |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- xwiki-platform: affected: >= 1.9-milestone-2, < 13.10.10, >= 14.0-rc-1, < 14.4.6, >= 14.5, < 14.9
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6vgh-9r3c-2cxp
- https://github.com/xwiki/xwiki-platform/commit/65ca06c51e7a1d5a579344c7272b2cc9a9a21126
- https://jira.xwiki.org/browse/XWIKI-15205
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.