wp-admin/setup-config.php in the installation component in WordPress 3.3.1 and earlier does not ensure that the specified MySQL database service is appropriate, which allows remote attackers to configure an arbitrary database via the dbhost and dbname parameters, and subsequently conduct static code injection and cross-site scripting (XSS) attacks via (1) an HTTP request or (2) a MySQL query. NOTE: the vendor disputes the significance of this issue; however, remote code execution makes the issue important in many realistic environments
Published 2012-01-30, last changed 2026-11-03.
CVSS
7.5
high, from NVD
EPSS
9.02%
percentile 95.4%, chance of exploitation in 30 days
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2011-4899, or call /api/v1/vulnerabilities/CVE-2011-4899. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.