# DRUPAL-CONTRIB-2023-018: 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 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

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

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

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