CVE-2011-4899

published 30 Jan 2012 · updated 3 Nov 2026

wp-admin/setup-config.php in the installation component in WordPress 3.3.1 and earlier does not ensure that the specified MySQL database…

6.0MediumEPSS 9%4 public exploits

4 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 9%. No fixed version is recorded.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WordPressWordPress<=3.3.1, =0.711, =0.71, =0.72, =0.7, =1.0.1, =1.0.2, =1.0, =1.2.1, =1.2.2, =1.2, =1.5.1.2, =1.5.1.3, =1.5.1, =1.5.2, =1.5, =2.0.10, =2.0.11, =2.0.1, =2.0.2, =2.0.3, =2.0.4, =2.0.5, =2.0.6, =2.0.7, =2.0.8, =2.0.9, =2.0, =2.1.1, =2.1.2, =2.1.3, =2.1, =2.2.1, =2.2.2, =2.2.3, =2.2, =2.3.1, =2.3.2, =2.3.3, =2.3, =2.5.1, =2.5, =2.6.1, =2.6.2, =2.6.3, =2.6.5, =2.6, =2.7.1, =2.7, =2.8.1, =2.8.2, =2.8.3, =2.8.4, =2.8.5, =2.8.6, =2.8, =2.9.1, =2.9.2, =2.9, =3.0.1, =3.0.2, =3.0.3, =3.0.4, =3.0.5, =3.0.6, =3.0, =3.1.1, =3.1.2, =3.1.3, =3.1.4, =3.1, =3.2.1, =3.3

Exploit evidence

4 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in WordPress, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2011-4899 severity on Zeptric[![CVE-2011-4899](https://zeptric.io/badge/cve/CVE-2011-4899.svg)](https://zeptric.io/cve/CVE-2011-4899)