CVE-2025-39504 WordPress Goodlayers Hotel plugin <= 3.1.4 - SQL Injection vulnerability

Critical 9.3 Published Updated

Attackers can perform blind SQL injection to read sensitive database information from the Goodlayers Hotel WordPress plugin.

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

CVE-2025-39504 is a critical SQL injection vulnerability in Goodlayers Hotel, published on 23 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in GoodLayers Goodlayers Hotel gdlr-hotel allows Blind SQL Injection.This issue affects Goodlayers Hotel: from n/a through <= 3.1.4.

Weakness: CWE-89

Which versions are affected by CVE-2025-39504?

How do I fix CVE-2025-39504?

No fix has been published for CVE-2025-39504 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-39504 being exploited?

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

Sources

Also known as GHSA-39hr-qmg2-rcg4.

Is CVE-2025-39504 in your software?

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

Check your SBOMs for free