{"id":"DRUPAL-CONTRIB-2023-019","aliases":["DRUPAL-CONTRIB-2023-019"],"related":[],"kind":"vulnerability","state":"published","title":"This module provides social media share & follow buttons.","summary":"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\".","summaryFormat":"markdown","summarySource":"drupal","descriptions":[{"lang":"en","text":"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\".","format":"markdown","source":"drupal"}],"published":"2023-05-31T13:22:44.000Z","modified":"2026-09-10T03:45:06.635Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.21.0"},{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.4"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/addtoany","purl":"pkg:composer/drupal/addtoany?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2023-019","tags":["web"],"sources":["drupal"]}],"credits":["Mitch Portier"],"sources":[{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2023-019","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2023-019","licence":"MIT","modified":"2026-09-10T03:45:06.635Z"}],"updatedAt":"2026-11-25T22:56:30.146Z"}