A vulnerability in the core HTML parsing module of CKEditor 4.22.1 was identified.
This issue specifically impacts editor instances with full-page editing mode enabled or CDATA elements in the Advanced Content Filtering configuration.
Magnolia doesn’t ship either of those two options by default.
As a result of the CVE and issue disclosure, Magnolia may show a security warning prompt when opening any CKEditor instances in Magnolia.
We confirm that this only affects instances using a custom configJsFile containing config.fullPage=true or source-mode enabled and specific config.allowedContent allowing CDATA.
This issue affects all versions up to and including Magnolia 6.2.42.
However, Magnolia ranks this issue as low severity because neither of the vulnerable features are enabled by default.
In addition, Magnolia provides safeguards to prevent such issues from being exploited.
Given that the CKEditor prompt may be shown to editors when Magnolia is not affected,
Magnolia provides a release, 6.2.42-sp1, to turn off the security warning in CKEditor and a workaround for individual fields.
Magnolia 6.2.42-sp1
You can use CLI to download the patched release or add the bundle to your Maven projects.
CLI jumpstart
mgnl jumpstart -m 6.2.42-sp1Copy
Alternatively, add the bundle to your Maven projects.
Below are the download links.
<dependencyManagement>
<dependencies>
<!-- Magnolia related dependencies -->
<dependency>
<groupId>info.magnolia.dx</groupId>
<artifactId>magnolia-dx-core-parent</artifactId>
<version>6.2.42-sp1</version>
<type>pom</type>
<!-- Import the 'dependencyManagement' from the eebundle -> the whole project inherits all modules and their version from the eebundle -->
<scope>import</scope>
</dependency>
...Copy
Updating the webapp’s POM
<dependencies>
<!-- Magnolia related dependencies -->
<dependency>
<!-- Using the imported 'dependencyManagement' from the parent pom -->
<groupId>info.magnolia.dx</groupId>
<artifactId>magnolia-dx-core-webapp</artifactId>
<type>pom</type>
</dependency>
<dependency>
<!-- Used for the Maven war:overlay -> defines the WAR's structure, the configs, web.xml etc. -->
<groupId>info.magnolia.dx</groupId>
<artifactId>magnolia-dx-core-webapp</artifactId>
<type>war</type>
</dependency>
...Copy