Moderate severityNVD Advisory· Published Aug 7, 2014· Updated May 6, 2026
CVE-2014-5191
CVE-2014-5191
Description
Cross-site scripting (XSS) vulnerability in the Preview plugin before 4.4.3 in CKEditor allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
ckeditor/ckeditorPackagist | < 4.4.3 | 4.4.3 |
Affected products
3Patches
1b685874c6bc8Prevent from DOM clobbering.
1 file changed · +8 −5
plugins/preview/preview.html+8 −5 modified@@ -1,10 +1,13 @@ <script> -var doc = document; -doc.open(); -doc.write( window.opener._cke_htmlToLoad ); -doc.close(); +// Prevent from DOM clobbering. +if ( typeof window.opener._cke_htmlToLoad == 'string' ) { + var doc = document; + doc.open(); + doc.write( window.opener._cke_htmlToLoad ); + doc.close(); -delete window.opener._cke_htmlToLoad; + delete window.opener._cke_htmlToLoad; +} </script>
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
6- ckeditor.com/node/136981nvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-v27h-j97p-wqmxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2014-5191ghsaADVISORY
- github.com/ckeditor/ckeditor4/commit/b685874c6bc873a76e6e95916c43840a2b7ab08aghsaWEB
- secunia.com/advisories/60036nvd
- www.securityfocus.com/bid/69161nvd
News mentions
0No linked articles in our index yet.