CVE & CISA-KEV Catalog

CVE-2019-6340

HIGHCISA KEVEPSS 100th pctl
8.1
CVSS v3
NVD

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.)

How to fix

Remediation Available
drupalNVD
Affected:>= 8.6.0, < 8.6.10Fixed in:8.6.10CVE-2019-6340derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

92.02%probability of exploitation in 30 days
100thpercentile

Very high risk: more likely to be exploited than 100% of all known CVEs.

Known Exploited Vulnerability (CISA KEV)

Drupal Core Remote Code Execution Vulnerability

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.

Apply updates per vendor instructions.

Remediation due: 2022-04-15

References

Vendor Advisory1
Third-Party Advisory2
Government Resource1

Related Vulnerabilities

Other CWE-502 (Deserialization of Untrusted Data) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-0669High7.2100%KEV + RansomFix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2021-35464Critical9.8100%KEV + RansomFix
CVE-2025-53770Critical9.8100%KEV + RansomFix
CVE-2023-29300Critical9.8100%KEV + Ransom-
CVE-2025-59287Critical9.8100%KEVFix

Common questions

How do I fix CVE-2019-6340?

Upgrade drupal to 8.6.10 or later.

Is CVE-2019-6340 being actively exploited?

Yes. CVE-2019-6340 is listed in the CISA Known Exploited Vulnerabilities catalog, which means exploitation has been observed in the wild. US federal agencies were required to remediate it by 2022-04-15. Treat it as a priority whatever its CVSS score says.

How severe is CVE-2019-6340?

CVE-2019-6340 has a CVSS v3 base score of 8.1, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2019-6340 affect?

Published advisories record a fix for drupal (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2019-6340
CVE-2019-6340 severity badge

Markdown

[![CVE-2019-6340](https://tridentstack.com/cve/badge/CVE-2019-6340.svg)](https://tridentstack.com/cve/CVE-2019-6340)

HTML

<a href="https://tridentstack.com/cve/CVE-2019-6340"><img src="https://tridentstack.com/cve/badge/CVE-2019-6340.svg" alt="CVE-2019-6340"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-07.