{"id":"GHSA-8jj2-x2gc-ggm7","summary":"Drupal Core Cross-site scripting vulnerability","details":"Cross-site scripting vulnerability in Drupal Core. Drupal AJAX API does not disable JSONP by default, allowing for an XSS attack. This issue affects: Drupal Drupal Core 7.x versions prior to 7.73; 8.8.x versions prior to 8.8.10; 8.9.x versions prior to 8.9.6; 9.0.x versions prior to 9.0.6.","aliases":["BIT-drupal-2020-13666","CVE-2020-13666","DRUPAL-CORE-2020-007"],"modified":"2025-11-20T23:27:44.553099Z","published":"2022-05-24T17:49:27Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-04-23T22:29:32Z","nvd_published_at":"2021-05-05T14:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13666"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2020-13666.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2020-13666.yaml"},{"type":"PACKAGE","url":"https://github.com/drupal/core"},{"type":"WEB","url":"https://www.drupal.org/sa-core-2020-007"}],"affected":[{"package":{"name":"drupal/core","ecosystem":"Packagist","purl":"pkg:composer/drupal/core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.8.0"},{"fixed":"8.8.10"}]}],"versions":["8.8.0","8.8.1","8.8.2","8.8.3","8.8.4","8.8.5","8.8.6","8.8.7","8.8.8","8.8.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8jj2-x2gc-ggm7/GHSA-8jj2-x2gc-ggm7.json"}},{"package":{"name":"drupal/core","ecosystem":"Packagist","purl":"pkg:composer/drupal/core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.9.0"},{"fixed":"8.9.6"}]}],"versions":["8.9.0","8.9.1","8.9.2","8.9.3","8.9.4","8.9.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8jj2-x2gc-ggm7/GHSA-8jj2-x2gc-ggm7.json"}},{"package":{"name":"drupal/core","ecosystem":"Packagist","purl":"pkg:composer/drupal/core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.0.0"},{"fixed":"9.0.6"}]}],"versions":["9.0.0","9.0.1","9.0.2","9.0.3","9.0.4","9.0.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8jj2-x2gc-ggm7/GHSA-8jj2-x2gc-ggm7.json"}},{"package":{"name":"drupal/core","ecosystem":"Packagist","purl":"pkg:composer/drupal/core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.73"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8jj2-x2gc-ggm7/GHSA-8jj2-x2gc-ggm7.json"}},{"package":{"name":"drupal/drupal","ecosystem":"Packagist","purl":"pkg:composer/drupal/drupal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.73"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8jj2-x2gc-ggm7/GHSA-8jj2-x2gc-ggm7.json"}},{"package":{"name":"drupal/drupal","ecosystem":"Packagist","purl":"pkg:composer/drupal/drupal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.8.0"},{"fixed":"8.8.10"}]}],"versions":["8.8.0","8.8.1","8.8.2","8.8.3","8.8.4","8.8.5","8.8.6","8.8.7","8.8.8","8.8.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8jj2-x2gc-ggm7/GHSA-8jj2-x2gc-ggm7.json"}},{"package":{"name":"drupal/drupal","ecosystem":"Packagist","purl":"pkg:composer/drupal/drupal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.9.0"},{"fixed":"8.9.6"}]}],"versions":["8.9.0","8.9.1","8.9.2","8.9.3","8.9.4","8.9.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8jj2-x2gc-ggm7/GHSA-8jj2-x2gc-ggm7.json"}},{"package":{"name":"drupal/drupal","ecosystem":"Packagist","purl":"pkg:composer/drupal/drupal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.0.0"},{"fixed":"9.0.6"}]}],"versions":["9.0.0","9.0.1","9.0.2","9.0.3","9.0.4","9.0.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8jj2-x2gc-ggm7/GHSA-8jj2-x2gc-ggm7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}