CVE-2020-13688: Drupal Core Cross-site scripting vulnerability

drupal/core Updated 02 Oct 2025

Summary

24/05/2022
Yes i
Moderate
6.1

CVE-2020-13688: Drupal Core Cross-site scripting vulnerability. Affects drupal/core across 3 version ranges.

>= 8.8.0, < 8.8.10 >= 8.9.0, < 8.9.6 >= 9.0.0, < 9.0.6

Fixed in 8.8.10, 8.9.6 or 9.0.6, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2020-13688 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Drupal Core is a popular content management system (CMS) used for building websites and applications. It provides a flexible and extensible platform for creating and managing digital content. The vulnerability identified as CVE-2020-13688 is a cross-site scripting (XSS) vulnerability that affects certain versions of Drupal Core. XSS vulnerabilities allow attackers to inject malicious scripts into web pages viewed by users, potentially leading to unauthorized access, data theft, or other malicious activities.

Vulnerability Detail

The CVE-2020-13688 vulnerability in Drupal Core arises from the way HTML is rendered for affected forms. Attackers can exploit this vulnerability by injecting malicious scripts into the affected forms, which are then executed when viewed by users. This can lead to various consequences, such as session hijacking, defacement of web pages, or stealing sensitive information. The vulnerability affects Drupal Core versions 8.8.X prior to 8.8.10, 8.9.X prior to 8.9.6, and 9.0.X prior to 9.0.6.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 8.8.0, < 8.8.10 8.8.10
    composer require drupal/core:8.8.10
  • >= 8.9.0, < 8.9.6 8.9.6
    composer require drupal/core:8.9.6
  • >= 9.0.0, < 9.0.6 9.0.6
    composer require drupal/core:9.0.6

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If upgrading immediately is not feasible, a temporary workaround can be implemented by disabling affected forms or applying input validation and sanitization techniques to prevent the execution of malicious scripts. However, this workaround may not provide complete protection and should be considered a temporary measure until the system can be upgraded to a patched version.

Conclusion

The CVE-2020-13688 vulnerability in Drupal Core is a cross-site scripting (XSS) vulnerability that can be exploited by attackers to inject and execute malicious scripts. Upgrading to the latest version of Drupal Core is the recommended solution to fix the vulnerability and ensure the security of the system. If immediate upgrade is not possible, applying temporary workarounds and implementing input validation and sanitization techniques can provide some level of protection. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for drupal/core →

Share this vulnerability

FAQ

Drupal Core is a content management system (CMS) used for building websites and applications. It provides a flexible and extensible platform for creating and managing digital content.

Cross-site scripting (XSS) is a type of vulnerability that allows attackers to inject malicious scripts into web pages viewed by users. This can lead to unauthorized access, data theft, or other malicious activities.

The vulnerability affects Drupal Core versions 8.8.X prior to 8.8.10, 8.9.X prior to 8.9.6, and 9.0.X prior to 9.0.6.

The vulnerability can be exploited by attackers to perform various malicious activities, such as session hijacking, defacement of web pages, or stealing sensitive information.

To protect your system, it is recommended to upgrade to the latest version of Drupal Core. Additionally, implementing input validation and sanitization techniques can help mitigate the risk of XSS attacks.

Related vulnerabilities

Recent vulnerabilities recorded for drupal/core.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 8.8.0, < 8.8.10 8.8.10
    composer require drupal/core:8.8.10
  • >= 8.9.0, < 8.9.6 8.9.6
    composer require drupal/core:8.9.6
  • >= 9.0.0, < 9.0.6 9.0.6
    composer require drupal/core:9.0.6

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback