CVE-2025-39500 WordPress Goodlayers Hostel Plugin <= 3.1.2 - PHP Object Injection vulnerability

Critical 9.8 Published Updated

An attacker can exploit PHP object injection in the Goodlayers Hostel 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-39500?

CVE-2025-39500 is a critical unsafe deserialization vulnerability in Goodlayers Hostel, published on 23 May 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 GoodLayers Goodlayers Hostel gdlr-hostel allows Object Injection.This issue affects Goodlayers Hostel: from n/a through <= 3.1.2.

Weakness: CWE-502

Which versions are affected by CVE-2025-39500?

How do I fix CVE-2025-39500?

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

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

Sources

Also known as GHSA-p97h-v2qf-9878.

Is CVE-2025-39500 in your software?

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

Check your SBOMs for free