CVE-2022-24821 — xwiki-platform-skin-skinx
MEDIUMCVE-2022-24821 is a medium-severity (CVSS 6.8) CWE-648 vulnerability in org.xwiki.platform:xwiki-platform-skin-skinx. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for org.xwiki.platform:xwiki-platform-skin-skinx — see the affected versions and patch details below.
Incorrect Use of Privileged APIs in org.xwiki.platform.skin.skinx
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-skin-skinx☕org.xwiki.platform:xwiki-platform-skin-skinx☕org.xwiki.platform:xwiki-platform-skin-skinxReal-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
Simple users can create global SSX/JSX without specific rights: in theory only users with Programming Rights should be allowed to create SSX or JSX that are executed everywhere on a wiki. But a bug allow anyone with edit rights to actually create those.
Patches
This issue has been patched in XWiki 13.10-rc-1, 12.10.11 and 13.4.6.
Workarounds
There's no easy workaround for this issue, administrators should upgrade their wiki.
References
https://jira.xwiki.org/browse/XWIKI-19155
For more information
If you have any questions or comments about this advisory:
- Open an issue in JIRA
- Email us at XWiki Security ML
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-skin-skinx | ≥ 13.5.0&&< 13.10 | 13.10org.xwiki.platform:xwiki-platform-skin-skinx:13.10 |
| ☕Maven | org.xwiki.platform:xwiki-platform-skin-skinx | all versions | 12.10.11org.xwiki.platform:xwiki-platform-skin-skinx:12.10.11 |
| ☕Maven | org.xwiki.platform:xwiki-platform-skin-skinx | ≥ 13.0.0&&< 13.4.6 | 13.4.6org.xwiki.platform:xwiki-platform-skin-skinx:13.4.6 |
Affected Products
xwikixwikiResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & 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-skin-skinx, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-skin-skinx to 13.10 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-24821 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2022-24821 in your dependencies?
Find it across Maven, including transitive dependencies.