CVE-2020-13688: Cross-Site Scripting Vulnerability in Drupal Core

drupal Updated 02 Oct 2025

Summary

06/03/2024
Yes i
Medium
Not published

CVE-2020-13688: Cross-site scripting vulnerability in l Drupal Core allows an attacker could leverage the way that HTML is rendered for affected forms in order to exploit the vulnerability. Affects drupal 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Drupal is an open-source content management system (CMS) used for building websites and applications. It provides a flexible platform for creating and managing digital content. This 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. Drupal Core is vulnerable to a cross-site scripting (XSS) attack, which occurs when an attacker exploits the way HTML is rendered for affected forms. This vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, potentially leading to unauthorized access, data theft, or other malicious activities.

Vulnerability Detail

The cross-site scripting vulnerability in Drupal Core arises from the improper rendering of HTML in affected forms. By leveraging this vulnerability, an attacker can inject malicious scripts into web pages, which are then executed by the victim's browser. This can lead to various security risks, including session hijacking, defacement of web pages, stealing sensitive information, and performing unauthorized actions on behalf of the user. The severity of this vulnerability is rated as medium according to the CVSS v3 scoring system.

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
  • >= 8.9.0, < 8.9.6 8.9.6
  • >= 9.0.0, < 9.0.6 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 to the latest version is not immediately feasible, a temporary workaround is to implement input validation and output encoding to prevent the execution of malicious scripts. This can be achieved by using security libraries or frameworks that provide functions for sanitizing user input and escaping output. It is crucial to thoroughly review and test any custom code or third-party modules to ensure they do not introduce vulnerabilities or bypass the implemented security measures.

Conclusion

The cross-site scripting vulnerability in Drupal Core can pose significant security risks to websites and applications built on this platform. It is crucial to promptly update to the latest version of Drupal Core and apply the provided patches to mitigate this vulnerability. Implementing input validation and output encoding can serve as a temporary workaround until the upgrade is performed. Regularly monitoring for security updates and following best practices for secure coding can help protect against future vulnerabilities. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for drupal →

Share this vulnerability

FAQ

Drupal Core is the foundational software that provides the basic functionality and features of the Drupal content management system. It includes essential modules and libraries for creating and managing websites and applications.

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by users. These scripts can be used to steal sensitive information, manipulate web content, or perform unauthorized actions on behalf of the user.

An attacker can exploit this vulnerability by submitting specially crafted input to affected forms in Drupal Core. When the input is rendered as HTML, the malicious scripts are executed by the victim's browser, potentially leading to various security risks.

The consequences of this vulnerability can include unauthorized access to sensitive information, data theft, session hijacking, defacement of web pages, and performing malicious actions on behalf of the user. It is important to patch this vulnerability to mitigate these risks.

At the time of this report, there are no known instances of this vulnerability being actively exploited. However, it is important to apply the necessary patches and security updates to prevent potential exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for drupal.

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
  • >= 8.9.0, < 8.9.6 8.9.6
  • >= 9.0.0, < 9.0.6 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