{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-13671","id":"CVE-2020-13671","title":"Drupal core Unrestricted Upload of File with Dangerous Type","description":"Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.","descriptionLong":"Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.","published":"2020-11-20T15:40:39.000Z","updated":"2026-10-24T10:30:20.854490397Z","reserved":"2020-05-28T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"drupal","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Drupal Core"],"affectedProducts":[{"vendor":"Drupal","product":"Drupal Core","defaultStatus":null,"versions":[{"status":"affected","version":"9.0 versions prior to 9.0.8"},{"status":"affected","version":"8.9 versions prior to 8.9.9"},{"status":"affected","version":"8.8 versions prior to 8.8.11"},{"status":"affected","version":"7 versions prior to 7.74"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"drupal/core","purl":"pkg:composer/drupal/core","ranges":[">=9.0.0 <9.0.8",">=8.9.0 <8.9.9",">=8.0.0 <8.8.11",">=7.0.0 <7.74"],"fixed":["9.0.8","8.9.9","8.8.11","7.74"],"advisory":"GHSA-68jc-v27h-vhmw"},{"ecosystem":"Packagist","name":"drupal/drupal","purl":"pkg:composer/drupal/drupal","ranges":[">=7.0.0 <7.74",">=8.0.0 <8.8.11",">=8.9.0 <8.9.9",">=9.0.0 <9.0.8"],"fixed":["7.74","8.8.11","8.9.9","9.0.8"],"advisory":"GHSA-68jc-v27h-vhmw"}],"cwes":["CWE-434"],"aliases":["BIT-drupal-2020-13671","DRUPAL-CORE-2020-012","GHSA-68jc-v27h-vhmw"],"references":[{"url":"https://www.drupal.org/sa-core-2020-012","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","Release Notes","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","Release Notes","advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671","tags":["government-resource","US Government Resource","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13671","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2020-13671.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2020-13671.yaml","tags":["web"]},{"url":"https://github.com/drupal/core","tags":["package"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":true,"kevAdded":"2022-01-18","kevDue":"2022-07-18","kevEntry":{"cveID":"CVE-2020-13671","vendorProject":"Drupal","product":"Drupal core","vulnerabilityName":"Drupal core Un-restricted Upload of File","dateAdded":"2022-01-18","shortDescription":"Improper sanitization in the extension file names is present in Drupal core.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2022-07-18","knownRansomwareCampaignUse":"Unknown","notes":"https://nvd.nist.gov/vuln/detail/CVE-2020-13671","cwes":["CWE-434"]},"ssvc":{"exploitation":"active","automatable":"no","technicalImpact":"total"},"epss":0.32568,"epssPercentile":0.9837,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-13671","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13671","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-13671","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-68jc-v27h-vhmw","ok":true,"note":"GHSA-68jc-v27h-vhmw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2022-01-18"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-13671","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["drupal"],"critical":["Exploited in the wild (CISA KEV)","EPSS 33% with CVSS 8.8"],"attention":null}