{
 "id": "WPSEC-2026-4494",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4494/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4494/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4494/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4494.json",
 "title": "Modern Cart <= 1.0.10 - Unauthenticated Improper Input Validation to Cart Item Meta Injection via 'attributes' Parameter",
 "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.",
 "plugin": {
  "slug": "modern-cart",
  "name": "Modern Cart",
  "full_name": "Modern Cart – WooCommerce Side Cart & Popup Cart",
  "wordpress_org": "https://wordpress.org/plugins/modern-cart/",
  "advisories_url": "https://wpsec.com/vuln/plugin/modern-cart/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/modern-cart"
 },
 "type": "UNKNOWN",
 "cwe": [
  "CWE-20"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "1.0.11",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.0.11"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.0.11",
 "remediation": "Update to 1.0.11 or later.",
 "fix_released": "2026-12-01T13:31:34+00:00",
 "published": "2026-12-03T12:50:55+00:00",
 "updated": "2026-12-03T12:33:46.837078+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4494/",
  "https://plugins.svn.wordpress.org/modern-cart/tags/1.0.11/",
  "https://wordpress.org/plugins/modern-cart/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/modern-cart",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-12-03"
 }
}