CVE-2019-6340

8.1 HIGH CISA KEV - Actively Exploited
Published: February 21, 2019 Modified: November 07, 2025

Description

Some field types do not properly sanitize data from non-form sources in Drupal 8.5.x before 8.5.11 and Drupal 8.6.x before 8.6.10. This can lead to arbitrary PHP code execution in some cases. A site is only affected by this if one of the following conditions is met: The site has the Drupal 8 core RESTful Web Services (rest) module enabled and allows PATCH or POST requests, or the site has another web services module enabled, like JSON:API in Drupal 8, or Services or RESTful Web Services in Drupal 7. (Note: The Drupal 7 Services module itself does not require an update at this time, but you should apply other contributed updates associated with this advisory if Services is in use.)

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://www.securityfocus.com/bid/107106
Source: mlhess@drupal.org
Broken Link Third Party Advisory VDB Entry
https://www.drupal.org/sa-core-2019-003
Source: mlhess@drupal.org
Mitigation Vendor Advisory
https://www.exploit-db.com/exploits/46452/
Source: mlhess@drupal.org
Patch Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/46459/
Source: mlhess@drupal.org
Exploit Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/46510/
Source: mlhess@drupal.org
Exploit Third Party Advisory
https://www.synology.com/security/advisory/Synology_SA_19_09
Source: mlhess@drupal.org
Third Party Advisory
http://www.securityfocus.com/bid/107106
Source: af854a3a-2127-422b-91ae-364da2661108
Broken Link Third Party Advisory VDB Entry
https://www.drupal.org/sa-core-2019-003
Source: af854a3a-2127-422b-91ae-364da2661108
Mitigation Vendor Advisory
https://www.exploit-db.com/exploits/46452/
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/46459/
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/46510/
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://www.synology.com/security/advisory/Synology_SA_19_09
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-6340
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
US Government Resource

13 reference(s) from NVD

Quick Stats

CVSS v3 Score
8.1 / 10.0
EPSS (Exploit Probability)
94.4%
100th percentile
Exploitation Status
Actively Exploited
Remediation due: 2022-04-15

Weaknesses (CWE)

Affected Vendors

drupal