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)
- Affected
- from 5.0.3 before 5.3.4
- Remediation
- Update to 5.3.4 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-502
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-21
- Attack surface
- Simple Shopping Cart on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS