Unrated

drupal/addtoany - SA-CONTRIB-2023-018

  • Disclosed: 31.05.2023
  • Updated: 11.10.2026 12:18

This module provides social media share & follow buttons.

The module doesn't sufficiently check access to a node when retrieving the label of an AddToAny block.

This vulnerability is mitigated by the fact it requires the node ID to be passed via the route, requiring another module or specific configuration to provide this ID, as the /node/{id} page doesn't provide this value on an access denied.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/addtoany < 1.21.0, >= 2.0.0, < 2.0.4 1.21.0, 2.0.4
Drupal module drupal/addtoany < 1.21.0, >= 2.0.0, < 2.0.4 1.21.0, 2.0.4

References

CVSS score -
Weakness (CWE)
-
Platform
Composer, Drupal
Package
drupal/addtoany
Disclosed
31.05.2023
Updated
11.10.2026 12:18

Sources and licenses

OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2023-018 - CC BY-SA 2.0; code GPL-2.0-or-later

Vulnerability history: drupal/addtoany

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
03.2019 05.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Unrated 3

Disclosures per year

  1. 2019: 1
  2. 2020: 0
  3. 2021: 0
  4. 2022: 0
  5. 2023: 2
  6. 2024: 0
  7. 2025: 0
  8. 2026: 0
  1. Unrated drupal-contrib-2023-019 < 1.21.0, >= 2.0.0, < 2.0.4 1.21.0, 2.0.4
  2. drupal/addtoany - SA-CONTRIB-2023-018 this entry
    Unrated drupal-contrib-2023-018 < 1.21.0, >= 2.0.0, < 2.0.4 1.21.0, 2.0.4
  3. Unrated drupal-contrib-2019-039 < 1.11.0 1.11.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.