Vulnerabilities / Modern Cart / WPSEC-2026-4494

Modern Cart <= 1.0.10 - Unauthenticated Improper Input Validation to Cart Item Meta Injection via 'attributes' Parameter

Medium 5.3 CWE-20Fixed in 1.0.11
ID
WPSEC-2026-4494
Plugin
Modern Cart – WooCommerce Side Cart & Popup Cart (modern-cart)
Affected
all versions before 1.0.11
Remediation
Update to 1.0.11 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-20
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-03
Attack surface
Modern Cart on WPSec AttackSurface
Fix released
Published

Description

The Modern Cart plugin for WordPress is vulnerable to Improper Input Validation via the slide-out cart's AJAX add-to-cart handler in all versions up to, and including, 1.0.10. This is due to the plugin copying every posted 'attributes' key/value pair into the variation data passed to WooCommerce's add_to_cart() without checking it against the product's actual variation attributes or the values the selected variation allows. This makes it possible for unauthenticated attackers to inject arbitrary item meta keys and values into cart items and resulting orders, and to add variable products without a valid variation or with attribute values the variation does not permit.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0