drupal/media_alias_display - SA-CONTRIB-2026-245
This module allows for direct viewing of a file with the URL alias.
In some cases, files may be served with the HTTP header Cache-Control: public when they should be uncacheable. This can lead to some users getting cached versions of files with information they should not be able to access.
This vulnerability is mitigated by the following:
- Drupal must be configured to handle non-public files using a custom or contributed module providing an additional file scheme.
- An attacker must know to request a file that has previously been requested by a more-privileged user, and that file must still be cached.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/media_alias_display | < 2.1.2, >= 3.0.0, < 3.0.2 | 2.1.2, 3.0.2 |
| Drupal module | drupal/media_alias_display | < 2.1.2, >= 3.0.0, < 3.0.2 | 2.1.2, 3.0.2 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/media_alias_display- Disclosed
- 21.10.2026
- Updated
- 22.10.2026 18:07
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2026-245 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/media_alias_display
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.