DRUPAL-CONTRIB-2023-018

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/addtoany/DRUPAL-CONTRIB-2023-018.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2023-018
Published
2023-05-31T13:20:43Z
Modified
2025-12-10T23:33:29.034166Z
Summary
[none]
Details

This module provides social media share & follow buttons.

The module doesn't sufficiently check access to a node when retrieving the label of an AddToAny block.

This vulnerability is mitigated by the fact it requires the node ID to be passed via the route, requiring another module or specific configuration to provide this ID, as the /node/{id} page doesn't provide this value on an access denied.

References
Credits

Affected packages

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

Package

Name
drupal/addtoany
Purl
pkg:composer/drupal/addtoany

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.21.0
Database specific
{
    "constraint": "<1.21.0"
}
Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.0.4
Database specific
{
    "constraint": ">=2.0.0 <2.0.4"
}

Database specific

affected_versions
"<1.21.0 || >=2.0.0 <2.0.4"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/addtoany/DRUPAL-CONTRIB-2023-018.json"