# DRUPAL-CONTRIB-2023-019: This module provides social media share & follow buttons

- Database: Drupal
- Published: 2023-05-31
- Modified: 2026-09-10

## Affected versions

- drupal/addtoany (Packagist): fixed in 1.21.0; from 2.0.0, fixed in 2.0.4

## Description

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".

## References

- https://www.drupal.org/sa-contrib-2023-019

Page: https://cve.now/DRUPAL-CONTRIB-2023-019

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
