All vulnerabilities

WordPress core

CVE-2007-6318

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.

Severity
Medium 6.8
Published
12 Dec 2007
Last changed
16 Jun 2026
Added to UpHeron
17 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
WordPressWordPress core · cpe:a:wordpress:wordpress
  • Version 2.3.1
  • Version 2.3
  • Version 2.2.3
  • Version 2.2.2
All 24 release lines
  • Version 2.0
  • Version 2.0.1
  • Version 2.0.2
  • Version 2.0.3
  • Version 2.0.4
  • Version 2.0.5
  • Version 2.0.6
  • Version 2.0.7
  • Version 2.0.10_rc1
  • Version 2.0.10_rc2
  • Version 2.0.10
  • Version 2.1.1
  • Version 2.1.2
  • Version 2.1.3_rc1
  • Version 2.1.3_rc2
  • Version 2.1.3
  • Version 2.2
  • Version 2.2_revision5002
  • Version 2.2_revision5003
  • Version 2.2.1
  • Version 2.2.2
  • Version 2.2.3
  • Version 2.3
  • Version 2.3.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-6318
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-6318