CVE-2025-31084 WordPress Sunshine Photo Cart plugin <= 3.4.10 - PHP Object Injection Vulnerability

Critical 9.8 Published Updated

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-2025-31084?

CVE-2025-31084 is a critical unsafe deserialization vulnerability in sunshinephotocart Sunshine Photo Cart, published on 1 Apr 2025. 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 allows Object Injection.This issue affects Sunshine Photo Cart: from n/a through <= 3.4.10.

Weakness: CWE-502

Which versions are affected by CVE-2025-31084?

It affects 1 product.

Products include Sunshinephotocart Sunshine Photo Cart.

How do I fix CVE-2025-31084?

No fix has been published for CVE-2025-31084 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-2025-31084 being exploited?

There is no known exploitation of CVE-2025-31084 in the wild and no public exploit code.

Sources

Also known as GHSA-3vmq-cr85-65gq.

Is CVE-2025-31084 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free