CVE-2019-6341: Drupal Cross Site Scripting (XSS) vulnerability in drupal/core

drupal/core Updated 02 Oct 2025

Summary

24/05/2022
Yes i
Moderate
5.4

CVE-2019-6341: Drupal Cross Site Scripting (XSS) vulnerability. Affects drupal/core across 3 version ranges.

>= 7.0.0, < 7.65.0 >= 8.0.0, < 8.5.14 >= 8.6.0, < 8.6.13

Fixed in 7.65.0, 8.5.14 or 8.6.13, depending on the release line you run. How to fix ↓

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

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Drupal is a popular open-source content management system (CMS) written in PHP. It provides a flexible platform for building websites and applications. The 'drupal/core' package is a fundamental component of Drupal that includes core functionality and modules. This package is susceptible to a Cross Site Scripting (XSS) vulnerability.

Vulnerability Detail

The vulnerability exists in Drupal versions prior to 7.65, 8.6.13, and 8.5.14. It is specifically found in the File module/subsystem. Under certain circumstances, a malicious user can upload a file that triggers a cross-site scripting (XSS) vulnerability. This can allow the attacker to inject and execute arbitrary JavaScript code in the context of the affected Drupal site, potentially leading to unauthorized access, data theft, or other malicious activities.

How To Fix

Fixed versions by release line

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

  • >= 7.0.0, < 7.65.0 7.65.0
    composer require drupal/core:7.65.0
  • >= 8.0.0, < 8.5.14 8.5.14
    composer require drupal/core:8.5.14
  • >= 8.6.0, < 8.6.13 8.6.13
    composer require drupal/core:8.6.13

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

Workaround

There is no known workaround for this vulnerability. It is essential to apply the provided patches or upgrade to the fixed versions to ensure the security of the Drupal installation.

Conclusion

The Drupal 'drupal/core' package is vulnerable to a Cross Site Scripting (XSS) vulnerability. It is crucial for site administrators to upgrade to Drupal 7.65, 8.6.13, or 8.5.14 to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for drupal/core →

Share this vulnerability

FAQ

Drupal is an open-source content management system (CMS) written in PHP. It provides a flexible platform for building websites and applications.

The 'drupal/core' package is a fundamental component of Drupal that includes core functionality and modules.

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

To fix this vulnerability, it is recommended to upgrade to Drupal 7.65, 8.6.13, or 8.5.14, depending on the version being used. These versions include patches that address the XSS vulnerability.

There is no known workaround for this vulnerability. It is essential to apply the provided patches or upgrade to the fixed versions to ensure the security of the Drupal installation.

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.

  • >= 7.0.0, < 7.65.0 7.65.0
    composer require drupal/core:7.65.0
  • >= 8.0.0, < 8.5.14 8.5.14
    composer require drupal/core:8.5.14
  • >= 8.6.0, < 8.6.13 8.6.13
    composer require drupal/core:8.6.13

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