Dangerous file upload in Drupal

Published: 2019-03-25
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-6341
Exploitation vector Network
Public exploit N/A
Vulnerable software
Web applications / CMS

Vendor Drupal

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Dangerous file upload

EUVDB-ID: #VU18065

Risk: Medium


CVE-ID: CVE-2019-6341

CWE-ID: CWE-434 - Unrestricted Upload of File with Dangerous Type

Exploit availability: No


The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data within the File module/subsystem in file.inc component. A remote authenticated attacker can upload a file with JavaScript code inside and execute it in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Install updates from vendor's website.

Vulnerable software versions

Drupal: 8.6.0 - 8.6.12, 8.5.0 - 8.5.13, 7.0 - 7.x

CPE2.3 External links


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?