Skip to content

Drupal core Cross-site Scripting (XSS) vulnerability

Moderate severity GitHub Reviewed Published Feb 12, 2022 to the GitHub Advisory Database • Updated May 24, 2024

Package

composer drupal/core (Composer)

Affected versions

>= 7.0.0, < 7.80
>= 8.0.0, < 8.9.14
>= 9.0.0, < 9.0.12
>= 9.1.0, < 9.1.7

Patched versions

7.80
8.9.14
9.0.12
9.1.7
composer drupal/drupal (Composer)
>= 7.0.0, < 7.80
>= 8.0.0, < 8.9.14
>= 9.0.0, < 9.0.12
>= 9.1.0, < 9.1.7
7.80
8.9.14
9.0.12
9.1.7

Description

Cross-site Scripting (XSS) vulnerability in Drupal core's sanitization API fails to properly filter cross-site scripting under certain circumstances. This issue affects: Drupal Core 9.1.x versions prior to 9.1.7; 9.0.x versions prior to 9.0.12; 8.9.x versions prior to 8.9.14; 7.x versions prior to 7.80.

References

Published by the National Vulnerability Database Feb 11, 2022
Published to the GitHub Advisory Database Feb 12, 2022
Reviewed May 15, 2024
Last updated May 24, 2024

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS score

0.056%
(24th percentile)

Weaknesses

CVE ID

CVE-2020-13672

GHSA ID

GHSA-3m36-mjwj-352c

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.