Unrated

drupal/basket - SA-CONTRIB-2026-038

  • Disclosed: 27.05.2026
  • Updated: 11.10.2026 12:18

The Basket module enables e-commerce and checkout functionality for Drupal sites.

The module does not sufficiently sanitize user-supplied data before passing it to PHP's unserialize().

An attacker can supply a crafted payload and trigger PHP Object Injection. If a viable gadget chain exists in the site codebase or installed dependencies, this can result in arbitrary PHP code execution.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/basket < 2.1.17 2.1.17
Drupal module drupal/basket < 2.1.17 2.1.17

References

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

Sources and licenses

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

Vulnerability history: drupal/basket

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

This is the only known vulnerability of this package.

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.