CVE-2023-37905 Cross-site Scripting (XSS) in Source Mode of Editor in ckeditor-wordcount-plugin
An attacker can execute arbitrary scripts via cross-site scripting in the source mode of the CKEditor WordCount plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-37905?
CVE-2023-37905 is a medium-severity cross-site scripting vulnerability in typo3 CKEditor-WordCount-Plugin, published on 21 Jul 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
ckeditor-wordcount-plugin is an open source WordCount Plugin for CKEditor. It has been discovered that the `ckeditor-wordcount-plugin` plugin for CKEditor4 is susceptible to cross-site scripting when switching to the source code mode. This issue has been addressed in version 1.17.12 of the `ckeditor-wordcount-plugin` plugin and users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2023-37905?
2 open source packages ship an affected version, including ckeditor-wordcount-plugin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ckeditor-wordcount-plugin npm | All versions | 1.17.12 |
ckeditor-wordcount-plugin npm | All versions | 1.17.12 |
Products include Ckeditor-Wordcount-Plugin Project Ckeditor-Wordcount-Plugin.
How do I fix CVE-2023-37905?
Upgrade ckeditor-wordcount-plugin to 1.17.12 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-37905 being exploited?
There is no known exploitation of CVE-2023-37905 in the wild and no public exploit code.
Sources
Also known as GHSA-q9w4-w667-qqj4.