{"answers":{"affected":"6 open source packages ship an affected version, including typo3/cms-rte-ckeditor.","exploited":"There is no known exploitation of GHSA-m8fw-p3cr-6jqc in the wild and no public exploit code.","fix":"Upgrade typo3/cms-rte-ckeditor to a fixed version for your release line: 10.4.39, 11.5.30 or 9.5.42.","what":"GHSA-m8fw-p3cr-6jqc is a cross-site scripting vulnerability in typo3/cms-rte-ckeditor, published on 25 Jul 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-m8fw-p3cr-6jqc and fix it if it is affected.\n\nWhat it is: GHSA-m8fw-p3cr-6jqc is a cross-site scripting vulnerability in typo3/cms-rte-ckeditor, published on 25 Jul 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-m8fw-p3cr-6jqc in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- typo3/cms-rte-ckeditor (Packagist): affected from 10.0.0; fixed in 10.4.39\n- typo3/cms-rte-ckeditor (Packagist): affected from 10.0.0; fixed in 10.4.39\n- typo3/cms-rte-ckeditor (Packagist): affected from 11.0.0; fixed in 11.5.30\n- typo3/cms-rte-ckeditor (Packagist): affected from 11.0.0; fixed in 11.5.30\n- typo3/cms-rte-ckeditor (Packagist): affected from 9.5.0; fixed in 9.5.42\n- typo3/cms-rte-ckeditor (Packagist): affected from 9.5.0; fixed in 9.5.42\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-m8fw-p3cr-6jqc/ (Markdown: https://insights.sbomify.com/GHSA-m8fw-p3cr-6jqc/index.md)","id":"GHSA-m8fw-p3cr-6jqc","markdown":"https://insights.sbomify.com/GHSA-m8fw-p3cr-6jqc/index.md","name":"GHSA-m8fw-p3cr-6jqc","record":{"aliases":[],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"TYPO3 CKEditor plugin","requires_auth":"low_privilege","summary":"Cross-site scripting in CKEditor4 WordCount plugin allows attackers to inject scripts when switching to source mode, requiring user interaction and specific configuration.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"\u003e ### 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 \u0026 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","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Cross-Site Scripting in CKEditor4 WordCount Plugin","id":"GHSA-m8fw-p3cr-6jqc","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":6,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["10.4.39"],"introduced":["10.0.0"],"last_affected":[],"package":"typo3/cms-rte-ckeditor","purl":null,"source":"GHSA-m8fw-p3cr-6jqc"},{"ecosystem":"Packagist","fixed":["10.4.39"],"introduced":["10.0.0"],"last_affected":[],"package":"typo3/cms-rte-ckeditor","purl":"pkg:composer/typo3/cms-rte-ckeditor","source":"GHSA-m8fw-p3cr-6jqc"},{"ecosystem":"Packagist","fixed":["11.5.30"],"introduced":["11.0.0"],"last_affected":[],"package":"typo3/cms-rte-ckeditor","purl":null,"source":"GHSA-m8fw-p3cr-6jqc"},{"ecosystem":"Packagist","fixed":["11.5.30"],"introduced":["11.0.0"],"last_affected":[],"package":"typo3/cms-rte-ckeditor","purl":"pkg:composer/typo3/cms-rte-ckeditor","source":"GHSA-m8fw-p3cr-6jqc"},{"ecosystem":"Packagist","fixed":["9.5.42"],"introduced":["9.5.0"],"last_affected":[],"package":"typo3/cms-rte-ckeditor","purl":null,"source":"GHSA-m8fw-p3cr-6jqc"},{"ecosystem":"Packagist","fixed":["9.5.42"],"introduced":["9.5.0"],"last_affected":[],"package":"typo3/cms-rte-ckeditor","purl":"pkg:composer/typo3/cms-rte-ckeditor","source":"GHSA-m8fw-p3cr-6jqc"}],"products":null,"published":"2023-07-25","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Cross-site scripting in CKEditor4 WordCount plugin allows attackers to inject scripts when switching to source mode, requiring user interaction and specific configuration.","url":"https://insights.sbomify.com/GHSA-m8fw-p3cr-6jqc/"}