CVE-2025-30985 WordPress GNUCommerce plugin <= 1.5.4 - PHP Object Injection vulnerability

Critical 9.8 Published Updated

An attacker can exploit PHP object injection in the GNUCommerce WordPress plugin to potentially execute arbitrary code.

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-30985?

CVE-2025-30985 is a critical unsafe deserialization vulnerability in kagla GNUCommerce, published on 15 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 kagla GNUCommerce gnucommerce allows Object Injection.This issue affects GNUCommerce: from n/a through <= 1.5.4.

Weakness: CWE-502

Which versions are affected by CVE-2025-30985?

How do I fix CVE-2025-30985?

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

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

Sources

Also known as GHSA-7v3q-fc37-v2cj.

Is CVE-2025-30985 in your software?

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

Check your SBOMs for free