{
 "id": "WPSEC-2026-4362",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4362/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4362/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4362/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4362.json",
 "title": "Modern Cart <= 1.1.2 - Unauthenticated Improper Input Validation via Slide-Out Add-to-Cart Attributes",
 "description": "The Modern Cart plugin for WordPress is vulnerable to Improper Input Validation via the 'attributes' parameter of the moderncart_add_to_cart AJAX action in all versions up to, and including, 1.1.2. This is due to the handler passing any posted attribute keys and values to WC_Cart::add_to_cart() without checking that the product is a variation or that the values belong to the parent product's variation attributes. This makes it possible for unauthenticated attackers to add arbitrary key/value pairs to their cart items, which WooCommerce saves as order line item meta at checkout. This includes underscore-prefixed meta that WooCommerce reads internally, such as _reduced_stock, which stops stock from being reduced for that line item. On older WooCommerce versions, it also makes it possible to add variable products without a valid variation, or with attribute values the variation does not allow.",
 "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.1.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.1.3"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.1.3",
 "remediation": "Update to 1.1.3 or later.",
 "fix_released": "2026-12-01T08:22:53+00:00",
 "published": "2026-12-02T08:48:44+00:00",
 "updated": "2026-12-01T10:53:28.122520+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4362/",
  "https://plugins.svn.wordpress.org/modern-cart/tags/1.1.3/",
  "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-02"
 }
}