CVE-2011-4899 in Wordpress
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 cr...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Wordpress | Wordpress | ≤ 3.3.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
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
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2011-4899 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-168961-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2012-01-30 |
| Last modified | 2026-11-03 |
| Source | NVD |
Analysis AI-written, not human-reviewed
CVE-2011-4899 affects WordPress 3.3.1 and earlier, allowing remote attackers to configure an arbitrary database and conduct static code injection and XSS attacks.
Attackers can exploit this vulnerability by manipulating the dbhost and dbname parameters in wp-admin/setup-config.php to configure an arbitrary MySQL database. This can lead to static code injection and XSS attacks through HTTP requests or MySQL queries.
Questions
What is CVE-2011-4899?
CVE-2011-4899 affects WordPress 3.3.1 and earlier, allowing remote attackers to configure an arbitrary database and conduct static code injection and XSS attacks.
What is the CVSS score for CVE-2011-4899?
CVE-2011-4899 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 9.0%.
Is CVE-2011-4899 actively exploited?
Public exploit available for CVE-2011-4899. Exploitation risk elevated.
How do I remediate CVE-2011-4899?
Priority: HIGH.
What systems are affected by CVE-2011-4899?
CVE-2011-4899 affects Wordpress Wordpress.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Wordpress","product":"Wordpress","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-03.