{"id":"DRUPAL-CONTRIB-2026-362","details":"The File Download module provides a custom field formatter that allows users to download file and image entities directly. It also provides an optional sub-module to count and display file downloads in Views (similar to how the core statistics module tracks content views).\n\nThe module does not properly sanitize filenames, allowing stored cross-site scripting (XSS) attacks. An attacker with file upload permissions could upload a file with a malicious filename, which would then execute in the browser of any user viewing the field.","aliases":["CVE-2026-142416"],"modified":"2026-12-02T19:15:06.581978144Z","published":"2026-12-02T17:46:27Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2026-362"}],"affected":[{"package":{"name":"drupal/file_download","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/file_download?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.2"}],"database_specific":{"constraint":"\u003c2.0.2"}}],"database_specific":{"affected_versions":"\u003c2.0.2","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/file_download/DRUPAL-CONTRIB-2026-362.json"}}],"schema_version":"1.9.2","credits":[{"name":"Drew Webber (mcdruid)","contact":["https://www.drupal.org/u/mcdruid"]}]}