{"id":"DRUPAL-CONTRIB-2023-019","details":"This module provides social media share & follow buttons.\n\nThe 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.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role with the permission \"administer blocks\".","modified":"2026-09-10T03:45:06.635887674Z","published":"2023-05-31T13:22:44Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2023-019"}],"affected":[{"package":{"name":"drupal/addtoany","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/addtoany?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.0"}],"database_specific":{"constraint":"\u003c1.21.0"}},{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.4"}],"database_specific":{"constraint":"\u003e=2.0.0 \u003c2.0.4"}}],"database_specific":{"affected_versions":"\u003c1.21.0 || \u003e=2.0.0 \u003c2.0.4","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/addtoany/DRUPAL-CONTRIB-2023-019.json"}}],"schema_version":"1.9.0","credits":[{"name":"Mitch Portier","contact":["https://www.drupal.org/user/2284182"]}]}