{"cve_id":"CVE-2019-6340","published":"2019-02-21T21:29:00.343000+00:00","last_modified":"2026-06-17T02:39:02.497000+00:00","vuln_status":"Analyzed","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.)","cvss_version":"3.1","cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","base_score":8.1,"base_severity":"HIGH","attack_vector":"NETWORK","privileges_req":"NONE","user_interaction":"NONE","scope":"UNCHANGED","impact_c":"HIGH","impact_i":"HIGH","impact_a":"HIGH","cwe_ids":["CWE-502"],"in_kev":true,"kev_date_added":"2022-03-25","kev_ransomware":false,"epss_score":0.92017,"epss_percentile":0.9982,"cap_rule_version":"0.1.1","stage":"INITIAL_ACCESS","req_access":"NONE","req_vector":"NETWORK","req_user_interaction":false,"grant_access":"USER","caps":["CODE_EXEC"],"terminal":false,"cap_confidence":"high","ingested_at":"2026-09-18T08:56:02.874155+00:00","first_seen":"2019-02-21T21:29:00.343000+00:00","kev_first_seen":"2022-03-25T00:00:00+00:00","novelty_score":0.0,"novelty_reasons":[],"novelty_at":null,"vendors":["drupal"],"products":["drupal"],"affected":[{"vendor":"drupal","product":"drupal","ranges":["≥ 8.5.0 and < 8.5.11","≥ 8.6.0 and < 8.6.10"]}]}