CVE-2022-29252 is a high-severity (CVSS 7.4) CWE-80 vulnerability in org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki. A fix is available for org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki — see the affected versions and patch details below.
Cross-site Scripting in XWiki Platform Wiki UI Main Wiki
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki☕org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki☕org.xwiki.platform:xwiki-platform-wiki-ui-mainwikiReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Impact
We found a possible XSS vector in the WikiManager.JoinWiki wiki page related to the "requestJoin" field.
Patches
The issue is patched in versions 12.10.11, 14.0-rc-1, 13.4.7, 13.10.3.
Workarounds
The easiest workaround is to edit the wiki page WikiManager.JoinWiki (with wiki editor) and change the line
<input type='hidden' name='requestJoin' value="$!request.requestJoin"/>
into
<input type='hidden' name='requestJoin' value="$escapetool.xml($!request.requestJoin)">
References
- https://jira.xwiki.org/browse/XWIKI-19292
- https://github.com/xwiki/xwiki-platform/commit/27f839133d41877e538d35fa88274b50a1c00b9b
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki
- Email us at security mailing list
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki | all versions | 12.10.11org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki:12.10.11 |
| ☕Maven | org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki | ≥ 13.0.0&&< 13.4.7 | 13.4.7org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki:13.4.7 |
| ☕Maven | org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki | ≥ 13.5.0&&< 13.10.3 | 13.10.3org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki:13.10.3 |
Affected Products
xwikixwikiDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki to 12.10.11 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-29252 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2022-29252 in your dependencies?
Find it across Maven, including transitive dependencies.