drupal/addtoany - SA-CONTRIB-2023-018
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/addtoany | < 1.21.0, >= 2.0.0, < 2.0.4 | 1.21.0, 2.0.4 |
| Drupal module | drupal/addtoany | < 1.21.0, >= 2.0.0, < 2.0.4 | 1.21.0, 2.0.4 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/addtoany- Disclosed
- 31.05.2023
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2023-018 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/addtoany
All published vulnerabilities of this package (Drupal module), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 03.2019 05.2023
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Unrated 3
Disclosures per year
- 2019: 1
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 2
- 2024: 0
- 2025: 0
- 2026: 0
-
drupal/addtoany - SA-CONTRIB-2023-018 this entry
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.