{"id":"DRUPAL-CONTRIB-2023-006","details":"This module enables you to add social sharing buttons to a site.\n\nThe module doesn't sufficiently sanitize the weight and ratio values entered in the module or block configuration.\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:37.102030677Z","published":"2023-03-01T15:15:08Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2023-006"}],"affected":[{"package":{"name":"drupal/better_social_sharing_buttons","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/better_social_sharing_buttons?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3"}],"database_specific":{"constraint":"\u003c4.0.3"}}],"database_specific":{"affected_versions":"\u003c4.0.3","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/better_social_sharing_buttons/DRUPAL-CONTRIB-2023-006.json"}}],"schema_version":"1.9.0","credits":[{"name":"cydave","contact":["https://www.drupal.org/user/3751740"]}]}