CVE-2007-6318
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.
Exploit likelihood
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 Medium
AV: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
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | WordPress Core 2.3.1 - Charset SQL Injection | 2007-12-11 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| affected, aliases, exploits, facts, references, title | Exploit-DB, GitHub Advisories, OSV | |
| first indexed | CVE 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
abelcheung.org/advisory/20071210-wordpress-charset.txt
redhat.com/archives/fedora-package-announce/2008-January/msg00098.html
securitytracker.com/id?1019071
lists.grok.org.uk/pipermail/full-disclosure/2007-December/058999.html
secunia.com/advisories/28005
securityfocus.com/bid/26795
Show 9 moreShow less
securityfocus.com/archive/1/484828/100/0/threaded
vupen.com/english/advisories/2007/4172
secunia.com/advisories/28310
redhat.com/archives/fedora-package-announce/2008-January/msg00079.html
securityreason.com/securityalert/3433
exchange.xforce.ibmcloud.com/vulnerabilities/38959
nvd.nist.gov/vuln/detail/CVE-2007-6318
github.com/advisories/GHSA-79q4-xv4r-946x
security-tracker.debian.org/tracker/CVE-2007-6318