Description
CKEditor Integration UI adds support for editing wiki pages using CKEditor. Prior to versions 1.64.3,t he `CKEditor.HTMLConverter` document lacked a protection against Cross-Site Request Forgery (CSRF), allowing to execute macros with the rights of the current user. If a privileged user with programming rights was tricked into executing a GET request to this document with certain parameters (e.g., via an image with a corresponding URL embedded in a comment or via a redirect), this would allow arbitrary remote code execution and the attacker could gain rights, access private information or impact the availability of the wiki. The issue has been patched in the CKEditor Integration version 1.64.3. This has also been patched in the version of the CKEditor integration that is bundled starting with XWiki 14.6 RC1. There are no known workarounds for this other than upgrading the CKEditor integration to a fixed version.
Remediation
References
https://github.com/xwiki-contrib/application-ckeditor/commit/6b1053164386aefc526df7512bc664918aa6849b
https://github.com/xwiki-contrib/application-ckeditor/security/advisories/GHSA-6mjp-2rm6-9g85
https://jira.xwiki.org/browse/CKEDITOR-475
Related Vulnerabilities
CVE-2017-15881 Vulnerability in npm package keystone
CVE-2016-10524 Vulnerability in npm package i18n-node-angular
CVE-2022-25312 Vulnerability in maven package org.apache.any23:apache-any23
CVE-2021-3597 Vulnerability in maven package io.undertow:undertow-core
CVE-2022-43422 Vulnerability in maven package com.compuware.jenkins:compuware-topaz-utilities