Drupal cross site scripting vulnerability
The advisory, in context
A jQuery cross site scripting vulnerability is present when making Ajax requests to untrusted domains. This vulnerability is mitigated by the fact that it requires contributed or custom modules in order to exploit. For Drupal 8, this vulnerability was already fixed in Drupal 8.4.0 in the Drupal core upgrade to jQuery 3. For Drupal 7, it is fixed in the current release (Drupal 7.57) for jQuery 1.4.4 (the version that ships with Drupal 7 core) as well as for other newer versions of jQuery that might be used on the site, for example using the jQuery Update module.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
From 7.0 before 7.57
Fixed in 7.57
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "7.0"
},
{
"fixed": "7.57"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}From 8.0 before 8.4.0
Fixed in 8.4.0
68 explicitly affected versions
8.0.0, 8.0.0-beta10, 8.0.0-beta11, 8.0.0-beta12, 8.0.0-beta13, 8.0.0-beta14, 8.0.0-beta15, 8.0.0-beta16, 8.0.0-beta6, 8.0.0-beta7, 8.0.0-beta8, 8.0.0-beta9, 8.0.0-rc1, 8.0.0-rc2, 8.0.0-rc3, 8.0.0-rc4, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.5, 8.0.6, 8.1.0, 8.1.0-beta1, 8.1.0-beta2, 8.1.0-rc1, 8.1.1, 8.1.10, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.1.7, 8.1.8, 8.1.9, 8.2.0, 8.2.0-beta1, 8.2.0-beta2, 8.2.0-beta3, 8.2.0-rc1, 8.2.0-rc2, 8.2.1, 8.2.2, 8.2.3, 8.2.4, 8.2.5, 8.2.6, 8.2.7, 8.2.8, 8.3.0, 8.3.0-alpha1, 8.3.0-beta1, 8.3.0-rc1, 8.3.0-rc2, 8.3.1, 8.3.2, 8.3.3, 8.3.4, 8.3.5, 8.3.6, 8.3.7, 8.3.8, 8.3.9, 8.4.0-alpha1, 8.4.0-beta1, 8.4.0-rc1, 8.4.0-rc2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "8.0"
},
{
"fixed": "8.4.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.0.0",
"8.0.0-beta10",
"8.0.0-beta11",
"8.0.0-beta12",
"8.0.0-beta13",
"8.0.0-beta14",
"8.0.0-beta15",
"8.0.0-beta16",
"8.0.0-beta6",
"8.0.0-beta7",
"8.0.0-beta8",
"8.0.0-beta9",
"8.0.0-rc1",
"8.0.0-rc2",
"8.0.0-rc3",
"8.0.0-rc4",
"8.0.1",
"8.0.2",
"8.0.3",
"8.0.4",
"8.0.5",
"8.0.6",
"8.1.0",
"8.1.0-beta1",
"8.1.0-beta2",
"8.1.0-rc1",
"8.1.1",
"8.1.10",
"8.1.2",
"8.1.3",
"8.1.4",
"8.1.5",
"8.1.6",
"8.1.7",
"8.1.8",
"8.1.9",
"8.2.0",
"8.2.0-beta1",
"8.2.0-beta2",
"8.2.0-beta3",
"8.2.0-rc1",
"8.2.0-rc2",
"8.2.1",
"8.2.2",
"8.2.3",
"8.2.4",
"8.2.5",
"8.2.6",
"8.2.7",
"8.2.8",
"8.3.0",
"8.3.0-alpha1",
"8.3.0-beta1",
"8.3.0-rc1",
"8.3.0-rc2",
"8.3.1",
"8.3.2",
"8.3.3",
"8.3.4",
"8.3.5",
"8.3.6",
"8.3.7",
"8.3.8",
"8.3.9",
"8.4.0-alpha1",
"8.4.0-beta1",
"8.4.0-rc1",
"8.4.0-rc2"
]
}From 8.0 before 8.4.0
Fixed in 8.4.0
74 explicitly affected versions
8.0.0, 8.0.0-alpha14, 8.0.0-alpha15, 8.0.0-beta1, 8.0.0-beta10, 8.0.0-beta11, 8.0.0-beta12, 8.0.0-beta13, 8.0.0-beta14, 8.0.0-beta15, 8.0.0-beta16, 8.0.0-beta2, 8.0.0-beta3, 8.0.0-beta4, 8.0.0-beta5, 8.0.0-beta6, 8.0.0-beta7, 8.0.0-beta9, 8.0.0-rc1, 8.0.0-rc2, 8.0.0-rc3, 8.0.0-rc4, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.5, 8.0.6, 8.1.0, 8.1.0-beta1, 8.1.0-beta2, 8.1.0-rc1, 8.1.1, 8.1.10, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.1.7, 8.1.8, 8.1.9, 8.2.0, 8.2.0-beta1, 8.2.0-beta2, 8.2.0-beta3, 8.2.0-rc1, 8.2.0-rc2, 8.2.1, 8.2.2, 8.2.3, 8.2.4, 8.2.5, 8.2.6, 8.2.7, 8.2.8, 8.3.0, 8.3.0-alpha1, 8.3.0-beta1, 8.3.0-rc1, 8.3.0-rc2, 8.3.1, 8.3.2, 8.3.3, 8.3.4, 8.3.5, 8.3.6, 8.3.7, 8.3.8, 8.3.9, 8.4.0-alpha1, 8.4.0-beta1, 8.4.0-rc1, 8.4.0-rc2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "8.0"
},
{
"fixed": "8.4.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.0.0",
"8.0.0-alpha14",
"8.0.0-alpha15",
"8.0.0-beta1",
"8.0.0-beta10",
"8.0.0-beta11",
"8.0.0-beta12",
"8.0.0-beta13",
"8.0.0-beta14",
"8.0.0-beta15",
"8.0.0-beta16",
"8.0.0-beta2",
"8.0.0-beta3",
"8.0.0-beta4",
"8.0.0-beta5",
"8.0.0-beta6",
"8.0.0-beta7",
"8.0.0-beta9",
"8.0.0-rc1",
"8.0.0-rc2",
"8.0.0-rc3",
"8.0.0-rc4",
"8.0.1",
"8.0.2",
"8.0.3",
"8.0.4",
"8.0.5",
"8.0.6",
"8.1.0",
"8.1.0-beta1",
"8.1.0-beta2",
"8.1.0-rc1",
"8.1.1",
"8.1.10",
"8.1.2",
"8.1.3",
"8.1.4",
"8.1.5",
"8.1.6",
"8.1.7",
"8.1.8",
"8.1.9",
"8.2.0",
"8.2.0-beta1",
"8.2.0-beta2",
"8.2.0-beta3",
"8.2.0-rc1",
"8.2.0-rc2",
"8.2.1",
"8.2.2",
"8.2.3",
"8.2.4",
"8.2.5",
"8.2.6",
"8.2.7",
"8.2.8",
"8.3.0",
"8.3.0-alpha1",
"8.3.0-beta1",
"8.3.0-rc1",
"8.3.0-rc2",
"8.3.1",
"8.3.2",
"8.3.3",
"8.3.4",
"8.3.5",
"8.3.6",
"8.3.7",
"8.3.8",
"8.3.9",
"8.4.0-alpha1",
"8.4.0-beta1",
"8.4.0-rc1",
"8.4.0-rc2"
]
}From 7.0 before 7.57
Fixed in 7.57
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "7.0"
},
{
"fixed": "7.57"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}References
- https://nvd.nist.gov/vuln/detail/CVE-2017-6929
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6929.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6929.yaml
- https://github.com/drupal/core
- https://lists.debian.org/debian-lts-announce/2018/02/msg00030.html
- https://www.debian.org/security/2018/dsa-4123
- https://www.drupal.org/sa-core-2018-001