CVE-2025-28970 WordPress WP Optimize By xTraffic plugin <= 5.1.6 - PHP Object Injection Vulnerability
An attacker can exploit PHP object injection in the WP Optimize By xTraffic 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-28970?
CVE-2025-28970 is a critical unsafe deserialization vulnerability in pep.vn WP Optimize By xTraffic, published on 27 Jun 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 pep.vn WP Optimize By xTraffic wp-optimize-by-xtraffic allows Object Injection.This issue affects WP Optimize By xTraffic: from n/a through <= 5.1.6.
Weakness: CWE-502
Which versions are affected by CVE-2025-28970?
How do I fix CVE-2025-28970?
No fix has been published for CVE-2025-28970 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-28970 being exploited?
There is no known exploitation of CVE-2025-28970 in the wild and no public exploit code.
Sources
Also known as GHSA-6p5x-5h49-3fm9.