# DRUPAL-CONTRIB-2023-019 - This module provides social media share & follow buttons. The module doesn't sufficiently…

Source: https://junglewise.ai/threats/drupal-contrib-2023-019-this-module-provides-social-media-share-follow-acce7ed3  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-05-31  
License: CC BY 4.0 with a link back

Severity: info · Published 2023-05-31

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

Technologies: [Packagist:Https://Packages.Drupal.Org/8 Drupal/Addtoany](https://junglewise.ai/threats/technologies/drupal-addtoany). Vendors: [Packagist:Https://Packages.Drupal.Org/8](https://junglewise.ai/threats/vendors/packagist-https-packages-drupal-org-8).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 31 May 2023.

**Which products and versions are affected?** Packagist:Https://Packages.Drupal.Org/8 Drupal/Addtoany ECOSYSTEM:introduced=0,fixed=1.21.0|ECOSYSTEM:introduced=2.0.0,fixed=2.0.4.

**Is there a fix for This vulnerability?** Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Addtoany: upgrade to 1.21.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run Packagist:Https://Packages.Drupal.Org/8 Drupal/Addtoany at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Addtoany: upgrade to 1.21.0 or later

## Affected products

- Packagist:Https://Packages.Drupal.Org/8 Drupal/Addtoany ECOSYSTEM:introduced=0,fixed=1.21.0|ECOSYSTEM:introduced=2.0.0,fixed=2.0.4

## Related threats

- [DRUPAL-CONTRIB-2023-018 - This module provides social media share & follow buttons. The module doesn't sufficiently…](https://junglewise.ai/threats/drupal-contrib-2023-018-this-module-provides-social-media-share-follow-05c4538d)
- [DRUPAL-CONTRIB-2019-039 - This module enables you to add social media share buttons on your website to its content and…](https://junglewise.ai/threats/drupal-contrib-2019-039-this-module-enables-you-to-add-social-media-cd042745)
