DRUPAL-CONTRIB-2026-301: Composer/drupal/commerce_product_alternative vulnerability

Published Nov 4, 2026
·
Updated

This module lets customers replace an item in their cart with one of the alternative product variations listed for it.

The module does not check that a cart belongs to the current visitor when the visitor is not logged in. An anonymous visitor can view items in other anonymous visitors' carts, including product names and prices, and replace those items with one of their listed alternatives.

The vulnerability is mitigated by the fact that only carts of anonymous visitors are affected; carts of authenticated customers are not.

Affected Software

1 affected componentFixes available
composer/drupal/commerce_product_alternative<1.0.1
1.0.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/commerce_product_alternative to a version that resolves this vulnerability.

    Fixed in 1.0.1

Event History

Nov 4, 2026
Advisory Published
via OSV·05:33 PM
Data Sourced
via OSV·05:33 PM
DescriptionAffected Software

Frequently Asked Questions

1

Which customers and data are exposed?

Only anonymous visitors' carts are affected. Another anonymous visitor may view the product names and prices of items in those carts; authenticated customers' carts are not affected.

2

What can an attacker do with access to another anonymous cart?

An anonymous visitor can replace items in another anonymous visitor's cart with one of the alternative product variations listed for that item.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203