cve.bz

CVE-2007-6318 wordpress wordpress: SQL Injection

no score yetExploitEPSS 9.2%

wordpress wordpress: no CVSS score yet. EPSS 9.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
9.2% (unchanged from 9.2% a week ago; 9.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2007-6318 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-6318?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-6318?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-6318 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
wordpress:wordpress2.0
wordpress:wordpress2.0.1
wordpress:wordpress2.0.2
wordpress:wordpress2.0.3
wordpress:wordpress2.0.4
wordpress:wordpress2.0.5
wordpress:wordpress2.0.6
wordpress:wordpress2.0.7
wordpress:wordpress2.0.10
wordpress:wordpress2.0.10_rc1
wordpress:wordpress2.0.10_rc2
wordpress:wordpress2.1.1
wordpress:wordpress2.1.2
wordpress:wordpress2.1.3
wordpress:wordpress2.1.3_rc1
wordpress:wordpress2.1.3_rc2
wordpress:wordpress2.2
wordpress:wordpress2.2.1
wordpress:wordpress2.2.2
wordpress:wordpress2.2.3
wordpress:wordpress2.2_revision5002
wordpress:wordpress2.2_revision5003
wordpress:wordpress2.3
wordpress:wordpress2.3.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14wordpress2.3.2-1DEBIAN-CVE-2007-6318

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Moderate.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2007-6318.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON