DRUPAL-CONTRIB-2026-038unknown
DRUPAL-CONTRIB-2026-038
The advisory, in context
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 packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
drupal/basket Packagist:https://packages.drupal.org/8
Ecosystem versions
Earlier releases before 2.1.17
Fixed in 2.1.17
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.17"
}
],
"type": "ECOSYSTEM",
"database_specific": {
"constraint": "<2.1.17"
}
}
],
"versions": []
}