DRUPAL-CONTRIB-2023-004unknown
DRUPAL-CONTRIB-2023-004
No CVE assignedCheck your stack
The advisory, in context
This module enables you to use the media library in custom forms without the Media Library Widget.
The 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.
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.
drupal/media_library_form_element Packagist:https://packages.drupal.org/8
Ecosystem versions
From 2.0.0 before 2.0.6
Fixed in 2.0.6
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.0.6"
}
],
"type": "ECOSYSTEM",
"database_specific": {
"constraint": ">=2.0 <2.0.6"
}
}
],
"versions": []
}