GHSA-m8fw-p3cr-6jqc: Typo3/cms rte ckeditor Cross-Site Scripting Vulnerability
MODERATEGHSA-m8fw-p3cr-6jqc is a MODERATE (CVSS 4.7) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Typo3/cms rte ckeditor libraries in the Packagist ecosystem. The issue involves cross-site scripting in ckeditor4 wordcount plugin. Remediation is available by upgrading affected packages to version 9.5.42, 10.4.39, 11.5.30.
GHSA-m8fw-p3cr-6jqc at a Glance
Security Impact
CVSS: 4.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix GHSA-m8fw-p3cr-6jqc
To remediate this vulnerability, upgrade all affected Typo3/cms rte ckeditor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade typo3/cms-rte-ckeditor to 9.5.42
Upgrade typo3/cms-rte-ckeditor to 10.4.39
Upgrade typo3/cms-rte-ckeditor to 11.5.30
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for typo3/cms-rte-ckeditor
How to Check if You Are Affected
To determine whether your application is affected by GHSA-m8fw-p3cr-6jqc, inspect your project dependencies for Typo3/cms rte ckeditor:
inspect dependencies for typo3/cms-rte-ckeditor
Analyze the terminal output to locate any version of Typo3/cms rte ckeditor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.5.42), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Typo3/cms rte ckeditor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-m8fw-p3cr-6jqc Affected Typo3/cms rte ckeditor Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
typo3/cms-rte-ckeditor
|
Packagist |
≥ 9.5.0
< 9.5.42
|
9.5.42
|
|
typo3/cms-rte-ckeditor
|
Packagist |
≥ 10.0.0
< 10.4.39
|
10.4.39
|
|
typo3/cms-rte-ckeditor
|
Packagist |
≥ 11.0.0
< 11.5.30
|
11.5.30
|
References
Frequently Asked Questions
What is GHSA-m8fw-p3cr-6jqc?
Which Typo3/cms rte ckeditor versions are affected?
What version fixes GHSA-m8fw-p3cr-6jqc?
Is typo3/cms-rte-ckeditor affected?
What is the CVSS score of GHSA-m8fw-p3cr-6jqc?
What CWE is associated with GHSA-m8fw-p3cr-6jqc?
How can I check Packagist dependencies for GHSA-m8fw-p3cr-6jqc?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m8fw-p3cr-6jqc",
"modified" : "2023-07-26T22:57:41Z",
"published" : "2023-07-25T19:11:43Z",
"aliases" : [ ],
"summary" : "Cross-Site Scripting in CKEditor4 WordCount Plugin",
"details" : "> ### CVSS: `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C` (4.4) \n\n### Problem\nThe [WordCount](https://ckeditor.com/cke4/addon/wordcount) plugin ([`npm:ckeditor-wordcount-plugin`](https://www.npmjs.com/package/ckeditor-wordcount-plugin)) for CKEditor4 is vulnerable to cross-site scripting when switching to the source code mode. This plugin is enabled via the `Full.yaml` configuration present, but is not active in the default configuration.\n\nIn default scenarios, exploiting this vulnerability requires a valid backend user account. However, if custom plugins are used on the website frontend, which accept and reflect rich-text content submitted by users, no authentication is required.\n\n### Solution\nUpdate to TYPO3 versions 9.5.42 ELTS, 10.4.39 ELTS, 11.5.30 that fix the problem described above.\n\n### Credits\nThanks to Sybille Peters who reported this issue, and to TYPO3 core & security team member Oliver Hader who fixed the issue.\n\n### References\n* [TYPO3-CORE-SA-2023-004](https://typo3.org/security/advisory/typo3-core-sa-2023-004)\n* https://github.com/w8tcha/CKEditor-WordCount-Plugin/security/advisories/GHSA-q9w4-w667-qqj4",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms-rte-ckeditor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.5.0"
}, {
"fixed" : "9.5.42"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms-rte-ckeditor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.0.0"
}, {
"fixed" : "10.4.39"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "typo3/cms-rte-ckeditor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.0.0"
}, {
"fixed" : "11.5.30"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/TYPO3/typo3/security/advisories/GHSA-m8fw-p3cr-6jqc"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/TYPO3/typo3"
}, {
"type" : "WEB",
"url" : "https://typo3.org/security/advisory/typo3-core-sa-2023-004"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-25T19:11:43Z",
"nvd_published_at" : null
}
}