CVE-2026-10524: CoCart arbitrary price manipulation in REST API

CVE-2026-10524 · Severity: high · CVSS 7.5 · Published 2026-08-06

CoCart is a popular WordPress REST API plugin that adds shopping cart functionality to WooCommerce stores. The plugin fails to validate product prices supplied by users through its public API endpoints, allowing attackers to set arbitrary prices on items and complete orders at fraudulent totals without authentication. This directly impacts online store revenue and enables order fraud at scale.

Technologies: CoCart. Vendors: CoCart.

Quick answers

Is CVE-2026-10524 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-10524 being exploited in the wild.
How severe is CVE-2026-10524?
High severity, with a CVSS score of 7.5, published 6 August 2026.
Which products and versions are affected?
CoCart before 4.9.0.
Is there a fix for CVE-2026-10524?
A patch was published on 2026-08-06: Fixed in version 4.9.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-10524 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-10524?
Check whether you run CoCart at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a price validation bypass in CoCart's add-item REST API endpoint (/wp-json/cocart/v2/cart/add-item). When an unauthenticated user adds an item to the cart, the plugin accepts a user-supplied "price" parameter without verifying it against the actual product price in WooCommerce. An attacker can obtain a valid session/cart key via guest checkout, then manipulate item prices to arbitrary values (e.g., setting a $100 product to $1) via the CoCart-API-Cart-Key header. The modified price persists in the shared WooCommerce cart and is reflected in the final order total, enabling order completion at fraudulent prices. The attack requires WooCommerce and CoCart to be active with guest checkout enabled, but no authentication is required. Patches are available in version 4.9.0 and later.

Affected products

  • CoCart CoCart before 4.9.0

Timeline

  • 2026-07-20: disclosed
  • 2026-08-06: advisory: NVD publication
  • 2026-08-06: patched: Fixed in version 4.9.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.