The Media Library module does not properly check entity access in some circumstances.
Impact
The Media Library module does not properly check entity access in some circumstances. This may result in users with access to edit content seeing metadata about media items they are not authorized to access.
Source excerpt · OSVThe vulnerability is mitigated by the fact that the inaccessible media will only be visible to users who can already edit content that includes a media reference field.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 8.0.0 before 9.4.10Ecosystem versions | 9.4.10 |
| From 9.5.0 before 9.5.2Ecosystem versions | 9.5.2 |
| From 10.0.0 before 10.0.2Ecosystem versions | 10.0.2 |
Version evidence: OSV · DRUPAL-CORE-2023-001
View original version evidence (280 explicit versions)
Original source description
The Media Library module does not properly check entity access in some circumstances. This may result in users with access to edit content seeing metadata about media items they are not authorized to access.
The vulnerability is mitigated by the fact that the inaccessible media will only be visible to users who can already edit content that includes a media reference field.
This advisory is not covered by Drupal Steward.