VYPR
Moderate severityNVD Advisory· Published Nov 14, 2018· Updated Aug 5, 2024

CVE-2018-17960

CVE-2018-17960

Description

CKEditor 4.x before 4.11.0 allows user-assisted XSS via pasting crafted HTML in source mode and switching back to WYSIWYG mode.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

CKEditor 4.x before 4.11.0 allows user-assisted XSS via pasting crafted HTML in source mode and switching back to WYSIWYG mode.

Vulnerability

The vulnerability is a cross-site scripting (XSS) issue in the HTML parser of CKEditor versions 4.x before 4.11.0. The bug allows execution of arbitrary JavaScript when a victim pastes specially crafted HTML code into the editor while in source mode and then switches back to WYSIWYG mode [1][3]. This affects all CKEditor 4 installations using the default HTML parser. The fix was released in CKEditor 4.11.0 [1][3]. The vulnerability is also reported in TYPO3 CMS versions 8.5.0 to 8.7.20 and 9.0.0 to 9.5.1 which bundle CKEditor [4].

Exploitation

Exploitation requires user interaction: the victim must be persuaded to (i) switch CKEditor to source mode, (ii) paste a malicious HTML code prepared by the attacker into the source area, and (iii) switch back to WYSIWYG mode [1][3]. The attacker needs no special network position but may need to convince the victim to perform these steps, possibly through social engineering. In TYPO3, a valid backend user account is required to access the editor [4].

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the CKEditor instance. This can lead to information disclosure, session hijacking, or other client-side attacks. The CVSS v3.0 score is 5.4 (Medium) for the TYPO3 scenario, with vector AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N [4]. The attacker gains the ability to inject malicious scripts into the editor's output when the victim switches to WYSIWYG mode.

Mitigation

The fix is included in CKEditor version 4.11.0, released November 6, 2018 [1][3]. Users should upgrade to CKEditor 4.11.0 or later. For TYPO3, update to versions 8.7.21 or 9.5.2, which includes the patched CKEditor [4]. No workarounds are documented; upgrading is the recommended action. The vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog.

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
ckeditornpm
< 4.11.04.11.0
typo3/cms-corePackagist
>= 8.0.0, < 8.7.218.7.21
typo3/cms-corePackagist
>= 9.0.0, < 9.5.29.5.2
typo3/cmsPackagist
>= 8.0.0, < 8.7.218.7.21
typo3/cmsPackagist
>= 9.0.0, < 9.5.29.5.2

Affected products

3

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

11

News mentions

0

No linked articles in our index yet.