WordPress Core < 2.3.2 - SQL Injection

9.8
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2007-6318
CVSS 9.8 (Critical)
Publicly Published September 8, 2007
Last Updated January 22, 2024

Description

SQL injection vulnerability in wp-includes/query.php in WordPress 2.3.1 and earlier allows remote attackers to execute arbitrary SQL commands via the s parameter, when DB_CHARSET is set to (1) Big5, (2) GBK, or possibly other character set encodings that support a "\" in a multibyte character.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WordPress

Software Type Core
Patched? Yes
Remediation Update to version 2.3.2, or a newer patched version
Affected Version
  • <= 2.3.1
Patched Version
  • 2.3.2

Recent vulnerabilities in WordPress

# Title CVE ID CVSS Researchers Date
1 WordPress Core <= 7.0.3 - Authenticated (Author+) Remote Code Execution via Malicious File Upload CVE-2026-65640 8.8 pwn.ai Team August 12, 2026
2 WordPress Core <= 7.0.2 - Authenticated (Author+) CSS Injection 5.5 August 8, 2026
3 WordPress Core <= 7.0.2 - Unauthenticated Sensitive Information Exposure via Comment Feeds 5.3 Elio Gubser (odkdn1) August 8, 2026
4 WordPress Core <= 7.0.2 - Unauthenticated Blind Server-Side Request Forgery 5.8 Andrew MacPherson August 8, 2026
5 WordPress Core <= 7.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Quick Edit 4.9 moochi, mappymappy August 8, 2026
6 WordPress Core <= 7.0.2 - Authenticated (Subscriber+) Email Change Confirmation Bypass 4.3 0ways August 8, 2026
7 WordPress Core <= 7.0.2 - Unauthenticated Reflected Cross-Site Scripting via log Parameter CVE-2026-64638 6.1 pwn.ai Team August 8, 2026
8 WordPress Core <= 7.0.2 - Authenticated (Subscriber+) Missing Authorization to Arbitrary Site Creation on Multisite 4.3 Aikido Security August 8, 2026
9 WordPress Core <= 7.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Emoji Settings Element 6.4 Asaf Mozes August 8, 2026
10 WordPress Core 6.9 - 7.0.1 - Remote Code Execution via REST API Batch Request Route Confusion CVE-2026-63030 9.8 Adam Kues July 17, 2026

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation