CVE-2021-37695
JSON

7.3high

Execution of JavaScript code using malformed HTML in ckeditor

Severity
7.3high CVSS:3.1 by GitHub_M
Exploit likelihood
1.32% (higher than 71% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-m94c-37g6-cjhc

Description

ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 [Fake Objects](https://ckeditor.com/cke4/addon/fakeobjects) package. The vulnerability allowed to inject malformed Fake Objects HTML, which could result in executing JavaScript code. It affects all users using the CKEditor 4 plugins listed above at version < 4.16.2. The problem has been recognized and patched. The fix will be available in version 4.16.2.

Affected

Product or packageVersionsReported by
ckeditor ckeditor4< 4.16.2CVE List
ckeditor4 (npm)before 4.16.2GitHub Advisory Database
ckeditor ckeditorbefore 4.16.2NVD
debian debian_linux9.0NVD
fedoraproject fedora33, 34, 35NVD
oracle application_expressbefore 21.1.4NVD
oracle banking_party_management2.7.0NVD
oracle commerce_guided_search11.3.2NVD
oracle commerce_merchandising11.3.2NVD
oracle documaker12.6.3, 12.6.4NVD
oracle financial_services_analytical_applications_infrastructurefrom 8.0.7 up to 8.1.1, 8.0.3NVD
oracle financial_services_model_management_and_governancefrom 8.0.8.0.0 up to 8.1.0.0.0NVD

All scores

GitHub_M7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
GitHub7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 [Fake Objects](https://ckeditor.com/cke4/addon/fakeobjects) package. The vulnerability allowed to inject malformed Fake Objects HTML, which could result in executing JavaScript code. It affects all users using the CKEditor 4 plugins listed above at version < 4.16.2. The problem has been recognized and patched. The fix will be available in version 4.16.2.

GitHub Advisory Database
Affected packages

The vulnerability has been discovered in Fake Objects plugin. All plugins with Fake Objects plugin dependency are affected:

Impact

A potential vulnerability has been discovered in CKEditor 4 Fake Objects package. The vulnerability allowed to inject malformed Fake Objects HTML, which could result in executing JavaScript code. It affects all users using the CKEditor 4 plugins listed above at version < 4.16.2.

Patches

The problem has been recognized and patched. The fix will be available in version 4.16.2.

For more information

Email us at security@cksource.com if you have any questions or comments about this advisory.

Acknowledgements

The CKEditor 4 team would like to thank Mika Kulmala (kulmik) for recognizing and reporting this vulnerability.

NVD (es)

ckeditor es un editor HTML WYSIWYG de código abierto con soporte de contenido enriquecido.&#xa0;Se ha detectado una vulnerabilidad potencial en el paquete CKEditor 4 [Fake Objects] (https://ckeditor.com/cke4/addon/fakeobjects).&#xa0;La vulnerabilidad permitió inyectar Fake Objects HTML con formato malformado, lo que podría resultar en una ejecución de código JavaScript.&#xa0;Afecta a todos los usuarios que utilizan los plugins de CKEditor 4 enumerados anteriormente en las versiones anteriores a 4.16.2.&#xa0;El problema ha sido reconocido y solucionado.&#xa0;La corrección estará disponible en la versión 4.16.2.

References

https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-m94c-37g6-cjhcthird-party-advisory, web
https://github.com/ckeditor/ckeditor4/commit/de3c001540715f9c3801aaa38a1917de46cfcf58patch, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3T/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGW/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XD/vendor-advisory
https://www.oracle.com/security-alerts/cpuoct2021.htmlpatch, third-party-advisory, web
https://lists.debian.org/debian-lts-announce/2021/11/msg00007.htmlmailing-list, third-party-advisory, web
https://www.oracle.com/security-alerts/cpujan2022.htmlpatch, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-37695advisory
https://github.com/ckeditor/ckeditor4package
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NYA354LJP47KCVJMTUO77ZCX3ZK42G3Tweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVOYN2WKDPLKCNILIGEZM236ABQASLGWweb

Sources

SourceRecordLicence
CVE ListCVE-2021-37695 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-m94c-37g6-cjhc changed 2026-07-08CC-BY-4.0
NVDCVE-2021-37695 changed 2026-06-17Public domain