drupal/addtoany - SA-CONTRIB-2023-019
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 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-019 - 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-019 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.