CVE-2021-37695: Execution of JavaScript code using malformed HTML in ckeditor

Published Aug 12, 2021
·
Updated

ckeditor is an open source WYSIWYG HTML editor with rich content support. 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. The problem has been recognized and patched. The fix will be available in version 4.16.2.

Other sources

CKEditor is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the Fake Objects plugin. A remote attacker could exploit this vulnerability using malformed Fake Objects HTML, which would be executed in a victim's Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

IBM

Affected Software

20 affected components
IBM IBM® Engineering Requirements Management DOORS<=9.7.2.7
IBM IBM® Engineering Requirements Management DOORS Web Access<=9.7.2.7
CKEditor CKEditor<4.16.2
Debian Debian Linux=9.0
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Oracle Application Express<21.1.4
Oracle Banking Party Management=2.7.0
Oracle Commerce Guided Search=11.3.2
Oracle Commerce Merchandising=11.3.2
Oracle Documaker=12.6.3
Oracle Documaker=12.6.4
Oracle Financial Services Analytical Applications Infrastructure>=8.0.7<=8.1.1
Oracle Financial Services Analytical Applications Infrastructure=8.0.3
Oracle Financial Services Model Management And Governance>=8.0.8.0.0<=8.1.0.0.0
Oracle JD Edwards EnterpriseOne Tools<9.2.6.0
Oracle PeopleSoft Enterprise PeopleTools=8.57
Oracle PeopleSoft Enterprise PeopleTools=8.58
Oracle PeopleSoft Enterprise PeopleTools=8.59

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade CKEditor 4 Fake Objects to a version that resolves this vulnerability.

    Fixed in 4.16.2
  2. Configuration

    Update CKEditor 4 to version 4.16.2 (vulnerable when < 4.16.2) so the Fake Objects plugin properly validates user-supplied input to prevent JavaScript execution from malformed Fake Objects HTML.

    CKEditor 4 (Fake Objects plugin) user-supplied input validation = properly validate/sanitize malformed Fake Objects HTML input (patched behavior present in version 4.16.2)

Event History

Aug 12, 2021
CVE Published
via MITRE·11:10 PM
Data Sourced
via MITRE·11:10 PM
DescriptionSeverityWeakness
Aug 13, 2021
Data Sourced
via NVD·12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this CKEditor vulnerability?

The vulnerability ID is CVE-2021-37695.

2

What is CKEditor?

CKEditor is an open source WYSIWYG HTML editor with rich content support.

3

What is the severity of CVE-2021-37695?

The severity of CVE-2021-37695 is high with a CVSS score of 5.4.

4

How does CVE-2021-37695 impact CKEditor 4?

CVE-2021-37695 allows the injection of malformed Fake Objects HTML, which could result in executing arbitrary code.

5

How can I fix CVE-2021-37695?

To fix CVE-2021-37695, upgrade to CKEditor version 4.16.3 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203