CVE-2025-27312 WordPress WP Sitemap plugin <= 1.0 - SQL Injection vulnerability
An attacker can execute arbitrary SQL commands via the WP Sitemap plugin, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-27312?
CVE-2025-27312 is a high-severity SQL injection vulnerability in Jenst WP Sitemap, published on 24 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Jenst WP Sitemap wp-sitemap allows SQL Injection.This issue affects WP Sitemap: from n/a through <= 1.0.
Weakness: CWE-89
Which versions are affected by CVE-2025-27312?
How do I fix CVE-2025-27312?
No fix has been published for CVE-2025-27312 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-27312 being exploited?
There is no known exploitation of CVE-2025-27312 in the wild and no public exploit code.
Sources
Also known as GHSA-p4vv-vjj8-538h.