CVE-2025-49507 WordPress CozyStay theme < 1.7.1 - PHP Object Injection vulnerability
An attacker can exploit PHP object injection in the CozyStay theme 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-49507?
CVE-2025-49507 is a critical unsafe deserialization vulnerability in LoftOcean CozyStay, published on 10 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 LoftOcean CozyStay cozystay allows Object Injection.This issue affects CozyStay: from n/a through < 1.7.1.
Weakness: CWE-502
Which versions are affected by CVE-2025-49507?
How do I fix CVE-2025-49507?
No fix has been published for CVE-2025-49507 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-49507 being exploited?
There is no known exploitation of CVE-2025-49507 in the wild and no public exploit code.
Sources
Also known as GHSA-77r3-7jcc-r6rj.