CVE-2024-30221 WordPress Sunshine Photo Cart plugin <= 3.1.1 - PHP Object Injection vulnerability
An attacker can exploit PHP object injection in the Sunshine Photo Cart plugin to potentially execute arbitrary code on the WordPress site.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-30221?
CVE-2024-30221 is a medium-severity unsafe deserialization vulnerability in sunshinephotocart Sunshine Photo Cart, published on 28 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Deserialization of Untrusted Data vulnerability in sunshinephotocart Sunshine Photo Cart sunshine-photo-cart.This issue affects Sunshine Photo Cart: from n/a through <= 3.1.1.
Weakness: CWE-502
Which versions are affected by CVE-2024-30221?
It affects 1 product.
Products include Sunshinephotocart Sunshine Photo Cart.
How do I fix CVE-2024-30221?
No fix has been published for CVE-2024-30221 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2024-30221 being exploited?
There is no known exploitation of CVE-2024-30221 in the wild and no public exploit code.
Other vulnerabilities in sunshinephotocart Sunshine Photo Cart
- CVE-2025-31084 WordPress Sunshine Photo Cart plugin <= 3.4.10 - PHP Object Injection Vulnerability
- CVE-2025-5482 Sunshine Photo Cart <= 3.4.11 - Authenticated (Subscriber+) Privilege Escalation
- CVE-2024-47314 WordPress Sunshine Photo Cart plugin <= 3.2.8 - Broken Access Control vulnerability
- CVE-2024-43971 WordPress Sunshine Photo Cart plugin <= 3.2.5 - Cross Site Scripting (XSS) vulnerability
- CVE-2024-30194 WordPress Sunshine Photo Cart plugin <= 3.1.1 - Reflected Cross Site Scripting (XSS) vulnerability
Sources
Also known as GHSA-pr9j-p6wx-p73x.