DRUPAL-CONTRIB-2026-362

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/file_download/DRUPAL-CONTRIB-2026-362.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2026-362
Aliases
  • CVE-2026-142416
Published
2026-12-02T17:46:27Z
Modified
2026-12-02T19:15:06Z
Summary
[none]
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).

The 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.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/file_download

Package

Name
drupal/file_download
Purl
pkg:composer/drupal/file_download?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.2
Database specific
Show details
{
    "constraint":  "<2.0.2"
}

Database specific

affected_versions
"<2.0.2"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/file_download/DRUPAL-CONTRIB-2026-362.json"