# Simple Shopping Cart <= 5.3.3 - Unauthenticated PHP Object Injection via Saved Cart Data

- **ID:** WPSEC-2026-3628
- **Plugin:** Simple Shopping Cart (`wordpress-simple-paypal-shopping-cart`), https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/
- **Affected versions:** from 5.0.3 before 5.3.4
- **Fixed in:** 5.3.4 (Update to 5.3.4 or later.)
- **Severity:** High 8.1 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-502
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wordpress-simple-paypal-shopping-cart
- **Fix released:** 2026-11-20
- **Published:** 2026-11-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3628/

## Description

The Simple Shopping Cart plugin for WordPress is vulnerable to PHP Object Injection via the cart object saved in post meta in all versions up to, and including, 5.3.3, due to the serialized cart, which contains visitor-supplied add-to-cart values such as the item number and product name, being saved without slashing and later unserialized without restricting the allowed classes. update_post_meta() strips backslashes from the stored string, which breaks the serialized string lengths. This makes it possible for unauthenticated attackers to inject a PHP object through crafted add-to-cart input that is unserialized when their cart is loaded. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.

## References

- https://wpsec.com/vuln/WPSEC-2026-3628/
- https://plugins.svn.wordpress.org/wordpress-simple-paypal-shopping-cart/tags/5.3.4/
- https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3628/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
