{"id":"CVE-2026-142416","aliases":["DRUPAL-CONTRIB-2026-362","EUVD-2026-144919","GHSA-m6xc-cx3c-83xg"],"status":"published","title":"File Download - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-362","description":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal File Download allows Stored XSS. This issue affects File Download versions: from 0.0.0 to 2.0.2.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2026-12-02T17:46:27Z","modified":"2026-12-05T00:32:09Z","fixes":[{"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/file_download","fixed_in":["2.0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/file_download","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.2"}]}]}],"products":[{"vendor":"drupal","product":"file download"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2026-362","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142416"},{"url":"https://github.com/advisories/GHSA-m6xc-cx3c-83xg"}],"sources":{"cve":[{"id":"CVE-2026-142416","title":"File Download - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-362","description":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal File Download allows Stored XSS. This issue affects File Download versions: from 0.0.0 to 2.0.2.","status":"published","published":"2026-12-04T22:49:51.821Z","modified":"2026-12-04T22:49:51.821Z","cwes":["CWE-79"],"updated_at":"2026-12-04T22:55:15.662826Z"}],"euvd":[{"id":"EUVD-2026-144919","description":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal File Download allows Stored XSS. This issue affects File Download versions: from 0.0.0 to 2.0.2.","status":"published","published":"2026-12-04T22:49:51Z","modified":"2026-12-04T22:49:51Z","updated_at":"2026-12-05T00:43:28.642833Z"}],"ghsa":[{"id":"GHSA-m6xc-cx3c-83xg","title":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\")...","description":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal File Download allows Stored XSS. This issue affects File Download versions: from 0.0.0 to 2.0.2.","status":"published","published":"2026-12-05T00:32:00Z","modified":"2026-12-05T00:32:09Z","cwes":["CWE-79"],"updated_at":"2026-12-05T01:00:36.874466Z"}],"nvd":[{"id":"CVE-2026-142416","description":"Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal File Download allows Stored XSS. This issue affects File Download versions: from 0.0.0 to 2.0.2.","status":"published","published":"2026-12-04T23:16:53.683Z","modified":"2026-12-04T23:16:53.683Z","cwes":["CWE-79"],"updated_at":"2026-12-04T23:19:29.191326Z"}],"osv":[{"id":"DRUPAL-CONTRIB-2026-362","description":"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.","status":"published","published":"2026-12-02T17:46:27Z","modified":"2026-12-02T19:15:06.581978144Z","updated_at":"2026-12-02T19:25:40.312943Z"}]}}
