Skip to content
OpenAdvisories
Unscored DRUPAL-CONTRIB-2023-019

This module provides social media share & follow buttons. The module doesn't sufficiently restrict AddToAny block settings to users who hav…

Published May 31, 2023 · Updated Sep 10, 2026 · Assigned by DRUPAL

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

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/addtoany < 1.21.0 · >= 2.0.0, < 2.0.4 1.21.0, 2.0.4 DRUPAL-CONTRIB-2023-019

References