Home Cyber Security News Drupal Release Patches for CKEditor XSS Bugs

Drupal Release Patches for CKEditor XSS Bugs

by Abeerah Hashim
Drupal CKEditor XSS bugs

Drupal has rolled out updates since cross-site scripting vulnerabilities were discovered within CKEditor. The developers behind CKEditor have also patched the XSS bugs with a hotfix release. All CKEditor users should now update their sites accordingly to remain safe.

Multiple CKEditor XSS Bugs Fixed

Reportedly, CKEditor – an open-source WYSIWYG rich-text editor – addressed two XSS bugs with the latest release 4.17.0. Both vulnerabilities affected all earlier CKEditor 4 versions.

One of these vulnerabilities (CVE-2021-41165), reported by William Bowling, existed in the core HTML processing module. As described in CKEditor’s advisory, exploiting this bug could allow executing malicious codes.

The vulnerability allowed to inject malformed comments HTML bypassing content sanitization, which could result in executing JavaScript code.

The other vulnerability (CVE-2021-41164), reported by Maurice Daue, affected the Advanced Content Filter (ACF) module. Describing its impact, the advisory reads,

The vulnerability allowed to inject malformed HTML bypassing content sanitization, which could result in executing JavaScript code.

While the team promptly fixed the flaws, it has to make one more change as the updates caused problems. Consequently, they released a hotfix with CKEditor 4.17.1.

Drupal Also Released Updates

These CKEditor bugs and the subsequent updates also affected Drupal that uses the CKEditor library for WYSIWYG editing. Therefore, Drupal also released security updates for the users.

Regarding the impact of the bugs, Drupal’s advisory states,

Vulnerabilities are possible if Drupal is configured to allow use of the CKEditor library for WYSIWYG editing. An attacker that can create or edit content (even without access to CKEditor themselves) may be able to exploit one or more Cross-Site Scripting (XSS) vulnerabilities to target users with access to the WYSIWYG CKEditor, including site admins with privileged access.

Consequently, the developers rolled out Drupal versions 9.2.9, 9.1.14, and 8.9.20 with the patches for the users of Drupal 9.1, 9.1, and 8.9, respectively.

The team confirmed that these issues do not affect Drupal 7 core since it doesn’t include CKEditor.

However, all other Drupal users (including those using end-of-life versions) should update to the latest releases to remain safe.

The US CISA has also issued an alert in this regard urging Drupal updates.

Let us know your thoughts in the comments.

You may also like

Leave a Comment

Latest Hacking News

Privacy Preference Center


The __cfduid cookie is used to identify individual clients behind a shared IP address and apply security settings on a per-client basis.

cookie_notice_accepted and gdpr[allowed_cookies] are used to identify the choices made from the user regarding cookie consent.

For example, if a visitor is in a coffee shop where there may be several infected machines, but the specific visitor's machine is trusted (for example, because they completed a challenge within your Challenge Passage period), the cookie allows Cloudflare to identify that client and not challenge them again. It does not correspond to any user ID in your web application, and does not store any personally identifiable information.

__cfduid, cookie_notice_accepted, gdpr[allowed_cookies]


DoubleClick by Google refers to the DoubleClick Digital Marketing platform which is a separate division within Google. This is Google’s most advanced advertising tools set, which includes five interconnected platform components.

DoubleClick Campaign Manager: the ad-serving platform, called an Ad Server, that delivers ads to your customers and measures all online advertising, even across screens and channels.

DoubleClick Bid Manager – the programmatic bidding platform for bidding on high-quality ad inventory from more than 47 ad marketplaces including Google Display Network.

DoubleClick Ad Exchange: the world’s largest ad marketplace for purchasing display, video, mobile, Search and even Facebook inventory.

DoubleClick Search: is more powerful than AdWords and used for purchasing search ads across Google, Yahoo, and Bing.

DoubleClick Creative Solutions: for designing, delivering and measuring rich media (video) ads, interactive and expandable ads.



The _ga is asssociated with Google Universal Analytics - which is a significant update to Google's more commonly used analytics service. This cookie is used to distinguish unique users by assigning a randomly generated number as a client identifier. It is included in each page request in a site and used to calculate visitor, session and campaign data for the sites analytics reports. By default it is set to expire after 2 years, although this is customisable by website owners.

The _gat global object is used to create and retrieve tracker objects, from which all other methods are invoked. Therefore the methods in this list should be run only off a tracker object created using the _gat global variable. All other methods should be called using the _gaq global object for asynchronous tracking.

_gid works as a user navigates between web pages, they can use the gtag.js tagging library to record information about the page the user has seen (for example, the page's URL) in Google Analytics. The gtag.js tagging library uses HTTP Cookies to "remember" the user's previous interactions with the web pages.

_ga, _gat, _gid