Every CVE Search/ Get API key

CVE-2007-6318

SQL injection vulnerability in wp-includes/query.php in WordPress 2.3.1 and earlier allows remote...

6.8 MediumPublic exploitFix available

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.

Exploit likelihood

9.16%Up 4.8 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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.

Record
CVE-2007-6318
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-89
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2007-6318
Updated
2026-11-02
EUVDEUVD-2007-6285 No score

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.

Record
EUVD-2007-6285
Updated
2026-11-03
GitHub AdvisoriesGHSA-79q4-xv4r-946x No score

SQL injection vulnerability in wp-includes/query.php in WordPress 2.3.1 and earlier allows remote...

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.

Record
GHSA-79q4-xv4r-946x
Weakness
CWE-89
Updated
2026-11-02
OSV No score

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.

Record
CVE-2007-6318
Updated
2026-11-02
OSVDEBIAN-CVE-2007-6318 No score

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.

Record
DEBIAN-CVE-2007-6318
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
wordpress
Debian:12
before 2.3.2-1
2.3.2-1
wordpress
Debian:13
before 2.3.2-1
2.3.2-1
wordpress
Debian:14
before 2.3.2-1
2.3.2-1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBWordPress Core 2.3.1 - Charset SQL Injection2007-12-11

History

History
RecordedChangedSources
aliasesEUVD
affected, aliases, exploits, facts, references, titleExploit-DB, GitHub Advisories, OSV
first indexedCVE List, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2007-6318 is a medium vulnerability (CVSS 6.8) in Wordpress, published December 12, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 9.16%, the 95th percentile. Fixed in wordpress 2.3.2-1.

References

Show 9 moreShow less
MoveEnter Open