9.1critical
org.xwiki.platform:xwiki-platform-skin-skinx vulnerable to basic Cross-site Scripting by exploiting JSX or SSX plugins
- Severity
- 9.1critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.95% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-cmvg-w72j-7phx
Description
XWiki Commons are technical libraries common to several other top level XWiki projects. There was no check in the author of a JavaScript xobject or StyleSheet xobject added in a XWiki document, so until now it was possible for a user having only Edit Right to create such object and to craft a script allowing to perform some operations when executing by a user with appropriate rights. This has been patched in XWiki 14.9-rc-1 by only executing the script if the author of it has Script rights.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| xwiki xwiki-platform | >= 3.0-milestone-1, < 14.9-rc-1 | CVE List |
| org.xwiki.platform:xwiki-platform-skin-skinx (Maven) | from 3.0-milestone-1 before 14.9-rc-1 | GitHub Advisory Database |
| xwiki xwiki | from >3.0 up to 14.8, 3.0 | NVD |
All scores
| GitHub_M | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
XWiki Commons are technical libraries common to several other top level XWiki projects. There was no check in the author of a JavaScript xobject or StyleSheet xobject added in a XWiki document, so until now it was possible for a user having only Edit Right to create such object and to craft a script allowing to perform some operations when executing by a user with appropriate rights. This has been patched in XWiki 14.9-rc-1 by only executing the script if the author of it has Script rights.
GitHub Advisory Database
Impact
There was no check in the author of a JavaScript xobject or StyleSheet xobject added in a XWiki document, so until now it was possible for a user having only Edit Right to create such object and to craft a script allowing to perform some operations when executing by a user with appropriate rights.
Patches
This has been patched in XWiki 14.9-rc-1 by only executing the script if the author of it has Script right.
Workarounds
The only known workaround consists in applying the following patch and rebuilding and redeploying xwiki-platform-skin-skinx.
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira
- Email us at Security ML
References
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-cmvg-w72j-7phx | exploit, patch, vendor-advisory, web | |
| https://github.com/xwiki/xwiki-platform/commit/fe65bc35d5672dd2505b7ac4ec42aec57d500fbb | patch, web | |
| https://jira.xwiki.org/browse/XWIKI-19514 | exploit, issue-tracking, web | |
| https://jira.xwiki.org/browse/XWIKI-19583 | exploit, issue-tracking, web | |
| https://jira.xwiki.org/browse/XWIKI-9119 | exploit, issue-tracking, permissions-required, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-29206 | advisory | |
| https://github.com/xwiki/xwiki-platform | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-29206 changed 2025-02-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cmvg-w72j-7phx changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2023-29206 changed 2026-06-17 | Public domain |