drupal-contrib-2026-301

osv_packagist
Description

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.

Timeline
Published
unknown
Last Modified
unknown
CVSS Details

CVSS details not available.

Affected Products

No product information available.

References
Linked Vulnerabilities

No linked vulnerabilities found.

{
  "affected": [
    {
      "database_specific": {
        "affected_versions": "<1.0.1",
        "source": "https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/commerce_product_alternative/DRUPAL-CONTRIB-2026-301.json"
      },
      "package": {
        "ecosystem": "Packagist:https://packages.drupal.org/8",
        "name": "drupal/commerce_product_alternative",
        "purl": "pkg:composer/drupal/commerce_product_alternative?repository_url=https:%2F%2Fpackages.drupal.org%2F8"
      },
      "ranges": [
        {
          "database_specific": {
            "constraint": "<1.0.1"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2026-122070"
  ],
  "credits": [
    {
      "contact": [
        "https://www.drupal.org/u/tim_dj"
      ],
      "name": "Tim de Jong (tim_dj)"
    }
  ],
  "details": "This module lets customers replace an item in their cart with one of the alternative product variations listed for it.\n\nThe 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.\n\nThe vulnerability is mitigated by the fact that only carts of anonymous visitors are affected; carts of authenticated customers are not.",
  "id": "DRUPAL-CONTRIB-2026-301",
  "modified": "2026-11-04T20:30:04.055872729Z",
  "published": "2026-11-04T17:33:18Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.drupal.org/sa-contrib-2026-301"
    }
  ],
  "schema_version": "1.9.2"
}
View JSON API Download JSON