CVE-2021-32808
JSON

7.6high

Cross-site scripting in ckeditor via abuse of undo functionality

Severity
7.6high CVSS:3.1 by GitHub_M
Exploit likelihood
1.19% (higher than 68% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-6226-h7ff-ch6c

Description

ckeditor is an open source WYSIWYG HTML editor with rich content support. A vulnerability has been discovered in the clipboard Widget plugin if used alongside the undo feature. The vulnerability allows a user to abuse undo functionality using malformed widget HTML, which could result in executing JavaScript code. It affects all users using the CKEditor 4 plugins listed above at version >= 4.13.0. 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.13.0, < 4.16.2CVE List
ckeditor4 (npm)from 4.13.0 before 4.16.2GitHub Advisory Database
ckeditor ckeditorfrom 4.13.0 before 4.16.2NVD
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.1NVD
oracle financial_services_model_management_and_governance8.0.8.0.0, 8.1.0.0.0NVD
oracle jd_edwards_enterpriseone_toolsup to 9.2.6.0NVD

All scores

GitHub_M7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
GitHub7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/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 vulnerability has been discovered in the clipboard Widget plugin if used alongside the undo feature. The vulnerability allows a user to abuse undo functionality using malformed widget HTML, which could result in executing JavaScript code. It affects all users using the CKEditor 4 plugins listed above at version >= 4.13.0. 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 Widget plugin if used alongside Undo feature.

Impact

A potential vulnerability has been discovered in CKEditor 4 Widget package. The vulnerability allowed to abuse undo functionality using malformed widget HTML, which could result in executing JavaScript code. It affects all users using the CKEditor 4 plugins listed above at version >= 4.13.0.

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 Anton Subbotin (skavans) for recognizing and reporting this vulnerability.

NVD (es)

ckeditor es un editor HTML WYSIWYG de código abierto con soporte de contenido enriquecido. Se ha detectado una vulnerabilidad en el plugin Widget del portapapeles si es usado junto con la funcionalidad undo. La vulnerabilidad permite a un usuario abusar de la funcionalidad undo usando HTML malformado del widget, lo que podría resultar en una ejecución de código JavaScript. Afecta a todos los usuarios que usen los plugins de CKEditor 4 mencionados anteriormente en las versiones posteriores a 4.13.0 incluyéndola. El problema ha sido reconocido y parcheado. La corrección estará disponible en la versión 4.16.2

References

https://github.com/ckeditor/ckeditor4/security/advisories/GHSA-6226-h7ff-ch6cthird-party-advisory, web
https://github.com/ckeditor/ckeditor4/releases/tag/4.16.2release-notes, 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://www.oracle.com/security-alerts/cpujan2022.htmlpatch, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-32808advisory
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
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WAGNWHFIQAVCP537KFFS2A2GDG66J7XDweb

Sources

SourceRecordLicence
CVE ListCVE-2021-32808 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-6226-h7ff-ch6c changed 2026-07-08CC-BY-4.0
NVDCVE-2021-32808 changed 2026-06-17Public domain