Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Remote unauthenticated request reaches the injection sink (AV:N/PR:N/UI:N); PHP object injection typically yields code execution, so full C/I/A impact with AC:L absent evidence of a gating gadget requirement.
Primary rating from Vendor (drupal).
CVSS VectorVendor: drupal
Lifecycle Timeline
5DescriptionCVE.org
Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability in Drupal Drupal AlternativeCommerce (Basket) allows Object Injection. This issue affects Drupal AlternativeCommerce (Basket) versions: from 0.0.0 to 2.1.17.
AnalysisAI
PHP object injection in the Drupal AlternativeCommerce (Basket) contributed module (all versions up to and including 2.1.17) allows remote unauthenticated attackers to modify dynamically-determined object attributes and inject crafted objects into the application. Successful exploitation can lead to code execution or full compromise of the Drupal site, with CVSS 3.1 scoring it 9.8 (Critical). No public exploit identified at time of analysis, and EPSS is low at 0.16% (6th percentile), indicating no observed exploitation activity yet despite the high severity rating.
Technical ContextAI
AlternativeCommerce (Basket) is a community-contributed e-commerce/shopping-basket module for the Drupal CMS, written in PHP. The root cause is CWE-915 (Improperly Controlled Modification of Dynamically-Determined Object Attributes), which in PHP typically manifests as unsafe deserialization or 'object injection' where attacker-controlled input is passed into a routine that instantiates or mutates object properties (e.g., unserialize() on untrusted data or mass-assignment into object attributes). Because Drupal contrib modules run in the same PHP process as the CMS core, an injected object can trigger 'POP gadget' chains present in Drupal core or other loaded libraries, converting attribute manipulation into arbitrary code or data-tampering. The affected component is identified by CPE cpe:2.3:a:drupal:drupal_alternativecommerce_(basket):*:*:*:*:*:*:*:*.
RemediationAI
Upgrade the AlternativeCommerce (Basket) module to version 2.1.17 or later, which is the vendor-released fixed version per Drupal security advisory SA-CONTRIB-2026-038 (https://www.drupal.org/sa-contrib-2026-038); the input confirms a patch is available from the vendor. Apply the update through the standard Drupal module update process (composer update of the contrib package followed by database update via update.php or drush updatedb). If immediate patching is not possible, compensating controls include disabling and uninstalling the AlternativeCommerce (Basket) module entirely (trade-off: shopping-basket/commerce functionality provided by the module will be unavailable), and placing a WAF or reverse-proxy rule in front of the site to block or restrict access to the module's request endpoints and inspect for serialized-object payloads (trade-off: risk of false positives and incomplete coverage since object-injection payloads are highly variable). Restricting the affected pages to authenticated/trusted users where feasible reduces the unauthenticated attack surface.
Same technique Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-43042
GHSA-ggc6-38jq-q957