Vulnerability · Published Jun 30, 2023 · Assigned by GitHub_M
CVE-2023-36477Persistent Cross-site Scripting (XSS) through CKEditor Configuration pages in XWiki Platform
Critical 9.1
In plain English
A critical-severity cross-site scripting in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with edit rights can edit all pages in the `CKEditor' space. This makes it possible to perform a variety of harmful actions, such as removing technical documents, leading to loss of service and editing the javascript configuration of CKEditor, leading to persistent XSS. This issue has been patched in XWiki 14.10.6 and XWiki 15.1. This issue has been patched on the CKEditor Integration extension 1.64.9 for XWiki version older than 14.6RC1. Users are advised to upgrade. Users unable to upgrade may manually address the issue by restricting the `edit` and `delete` rights to a trusted user or group (e.g. the `XWiki.XWikiAdminGroup` group), implicitly disabling those rights for all other users. See commit `9d9d86179` for details.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.contrib:application-ckeditor-ui | 1.64.9 | GHSA-793w-g325-hrw2 |
| Maven | org.xwiki.platform:xwiki-platform-ckeditor-ui | 14.10.6 | GHSA-793w-g325-hrw2 |
| Maven | org.xwiki.platform:xwiki-platform-ckeditor-ui | 15.1 | GHSA-793w-g325-hrw2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | org.xwiki.contrib:application-ckeditor-ui: >= 1.9, < 1.64.9org.xwiki.platform:xwiki-platform-ckeditor-ui: >= 14.6-rc-1, < 14.10.6org.xwiki.platform:xwiki-platform-ckeditor-ui: >= 15.0, < 15.1 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-793w-g325-hrw2 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/9d9d86179457cb8dc48b4491510537878800be4f x_refsource_MISC
- https://jira.xwiki.org/browse/CKEDITOR-508 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20590 x_refsource_MISC