MediumGHSA-g68x-vvqq-pvw3CVE-2018-17960

Ckeditor XSS Vulnerability

Published 21 Nov 2018 · Updated 16 Feb 2024

Affected packages

Affected
<4.11.0
Fixed in
4.11.0
Update to the fixed version for your release line, for example:npm install ckeditor@4.11.0
Affected
>=8.0.0 <8.7.21
Fixed in
8.7.21
Update to the fixed version for your release line, for example:composer require typo3/cms-core:^8.7.21
Affected
>=9.0.0 <9.5.2
Fixed in
9.5.2
Update to the fixed version for your release line, for example:composer require typo3/cms-core:^9.5.2
typo3/cmsComposer
Affected
>=8.0.0 <8.7.21
Fixed in
8.7.21
Update to the fixed version for your release line, for example:composer require typo3/cms:^8.7.21
typo3/cmsComposer
Affected
>=9.0.0 <9.5.2
Fixed in
9.5.2
Update to the fixed version for your release line, for example:composer require typo3/cms:^9.5.2

Details

CKEditor 4.x before 4.11.0 allows user-assisted XSS involving a source-mode paste. It was possible to execute XSS inside the CKEditor source area after persuading the victim to: (i) switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the attacker, into the opened CKEditor source area, and (iii) switch back to WYSIWYG mode. Although this is an unlikely scenario, it is recommended to upgrade to the latest editor version.

Is GHSA-g68x-vvqq-pvw3 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected ckeditor, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.