{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-6340","id":"CVE-2019-6340","title":"Drupal core - Highly critical - Remote Code Execution","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 ","descriptionLong":"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.)","published":"2019-02-21T21:00:00.000Z","updated":"2026-10-24T10:30:34.560549741Z","reserved":"2019-01-15T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"drupal","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Drupal Core"],"affectedProducts":[{"vendor":"Drupal","product":"Drupal Core","defaultStatus":null,"versions":[{"lessThan":"8.5.11","status":"affected","version":"8.5","versionType":"custom"},{"lessThan":"8.6.10","status":"affected","version":"8.6","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"drupal/core","purl":"pkg:composer/drupal/core","ranges":[">=8.6.0 <8.6.10",">=7.0.0 <7.62.0",">=8.0.0 <8.5.11"],"fixed":["8.6.10","7.62.0","8.5.11"],"advisory":"GHSA-3gx6-h57h-rm27"},{"ecosystem":"Packagist","name":"drupal/drupal","purl":"pkg:composer/drupal/drupal","ranges":[">=7.0.0 <7.62.0",">=8.0.0 <8.5.11",">=8.6.0 <8.6.10"],"fixed":["7.62.0","8.5.11","8.6.10"],"advisory":"GHSA-3gx6-h57h-rm27"}],"cwes":["CWE-502"],"aliases":["DRUPAL-CORE-2019-003","GHSA-3gx6-h57h-rm27"],"references":[{"url":"https://www.synology.com/security/advisory/Synology_SA_19_09","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.exploit-db.com/exploits/46452/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Patch","Third Party Advisory","VDB Entry","fix"]},{"url":"https://www.drupal.org/sa-core-2019-003","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://www.exploit-db.com/exploits/46510/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"http://www.securityfocus.com/bid/107106","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://www.exploit-db.com/exploits/46459/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-6340","tags":["government-resource","US Government Resource","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-6340","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2019-6340.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2019-6340.yaml","tags":["web"]},{"url":"https://github.com/drupal/drupal","tags":["package"]},{"url":"https://www.exploit-db.com/exploits/46452","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/46459","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/46510","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2022-03-25","kevDue":"2022-04-15","kevEntry":{"cveID":"CVE-2019-6340","vendorProject":"Drupal","product":"Core","vulnerabilityName":"Drupal Core Remote Code Execution Vulnerability","dateAdded":"2022-03-25","shortDescription":"In Drupal Core, some field types do not properly sanitize data from non-form sources. This can lead to arbitrary PHP code execution in some cases.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2022-04-15","knownRansomwareCampaignUse":"Unknown","notes":"https://nvd.nist.gov/vuln/detail/CVE-2019-6340","cwes":["CWE-502"]},"ssvc":{"exploitation":"active","automatable":"no","technicalImpact":"total"},"epss":0.92017,"epssPercentile":0.99824,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-6340","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-6340","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-6340","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3gx6-h57h-rm27","ok":true,"note":"GHSA-3gx6-h57h-rm27"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2022-03-25"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-6340","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["drupal"],"critical":["Exploited in the wild (CISA KEV)","EPSS 92% with CVSS 8.1"],"attention":null}