CVE-2019-6340: Vulnerability in Drupal
Actively exploited. 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...
Exploited in the wild, Packagist, CWE-502
- Exploitation
- Confirmed 25 Mar 2022
- Severity
- 8.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- Agencies by 15 Apr 2022
Details
- Advisory ID
- GHSA-3gx6-h57h-rm27
- Vector
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
- Weakness
- CWE-502
- Published
- 21 Feb 2019
- Last change
- 17 Jun 2026
- Ecosystem
- Packagist
Affected products
Affected versions and the first fixed release
- Drupal From 8.5.0 before 8.5.11; From 8.6.0 before 8.6.10. Fixed in 8.5.11, 8.6.10
Affected packages
Vulnerable version ranges and fixed releases
- drupal/core Packagist, Affected from 8.6.0 before 8.6.10. Fixed in 8.6.10
- drupal/drupal Packagist, Affected from 7.0.0 before 7.62.0. Fixed in 7.62.0
Advisories
Vendor and security advisories
- securityfocus.com/bid/107106
- drupal.org/sa-core-2019-003
- synology.com/security/advisory/Synology_SA_19_09
Exploit code
Public exploits and proofs of concept, handle with care
Related
- Drupal vulnerabilities Recent advisories, watch this product
- Exploited vulnerabilities Explorer, exploited only