CVE-2023-36477
JSON

9.1critical

Persistent Cross-site Scripting (XSS) through CKEditor Configuration pages in XWiki Platform

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.90% (higher than 60% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-793w-g325-hrw2

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

Product or packageVersionsReported by
xwiki xwiki-platformorg.xwiki.contrib:application-ckeditor-ui: >= 1.9, < 1.64.9, org.xwiki.platform:xwiki-platform-ckeditor-ui: >= 14.6-rc-1, < 14.10.6, org.xwiki.platform:xwiki-platform-ckeditor-ui: >= 15.0, < 15.1CVE List
org.xwiki.platform:xwiki-platform-ckeditor-ui (Maven)from 14.6-rc-1 before 14.10.6, from 15.0-rc-1 before 15.1GitHub Advisory Database
org.xwiki.contrib:application-ckeditor-ui (Maven)from 1.9 before 1.64.9GitHub Advisory Database
xwiki ckeditor_integrationfrom 1.9 before 1.64.9NVD
xwiki xwikifrom 14.6 before 14.10.6, 15.0NVD

All scores

GitHub_M9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub9.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database
Effect

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
  • Editing the javascript configuration of CKEditor, leading to persistent XSS
Patches

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.

Workarounds

The issue can be fixed manually 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 https://github.com/xwiki/xwiki-platform/commit/9d9d86179457cb8dc48b4491510537878800be4f

References
For more information

If you have any questions or comments about this advisory:

References

Sources

SourceRecordLicence
CVE ListCVE-2023-36477 changed 2024-12-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-793w-g325-hrw2 changed 2026-09-10CC-BY-4.0
NVDCVE-2023-36477 changed 2026-06-17Public domain