DRUPAL-CONTRIB-2023-019unknown
DRUPAL-CONTRIB-2023-019
No CVE assignedCheck your stack
The advisory, in context
This module provides social media share & follow buttons.
The module doesn't sufficiently restrict AddToAny block settings to users who have permission to administer AddToAny. This allows users with lower permission to configure malicious code leading to a Cross Site Scripting (XSS) vulnerability.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "administer blocks".
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/addtoany Packagist:https://packages.drupal.org/8
Ecosystem versions
Earlier releases before 1.21.0
Fixed in 1.21.0
Ecosystem versions
From 2.0.0 before 2.0.4
Fixed in 2.0.4
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.21.0"
}
],
"type": "ECOSYSTEM",
"database_specific": {
"constraint": "<1.21.0"
}
},
{
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.0.4"
}
],
"type": "ECOSYSTEM",
"database_specific": {
"constraint": ">=2.0.0 <2.0.4"
}
}
],
"versions": []
}