HOMEVULNERABILITIESCVE-2012-0782
MEDIUMPOC

CVE-2012-0782

CWE-79Published: January 30, 2012· Updated: Jun 16, 2026

4.3
CVSS v3.1

Official Description

Multiple cross-site scripting (XSS) vulnerabilities in wp-admin/setup-config.php in the installation component in WordPress 3.3.1 and earlier allow remote attackers to inject arbitrary web script or HTML via the (1) dbhost, (2) dbname, or (3) uname parameter. NOTE: the vendor disputes the significance of this issue; also, it is unclear whether this specific XSS scenario has security relevance

NVD Source

Technical Analysis

CVE-2012-0782 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A proof-of-concept (PoC) exploit exists for CVE-2012-0782. While not yet confirmed in active campaigns, the availability of PoC code increases exploitation risk substantially.

From a weakness classification perspective (CWE-79): Cross-site scripting (XSS) vulnerabilities allow attackers to inject malicious scripts into web pages viewed by other users.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityM
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityNone
IntegrityP
AvailabilityNone
AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected Vendors & Products

WordPress1 product(s)
wordpress
Source: NVD CPE · 73 total CPE entries

Exploit & PoC Resources

POC AVAILABLEProof-of-concept code exists
External links open in a new tab. Always verify in a controlled environment before use.

All References (6)

Quick Facts

CVE IDCVE-2012-0782
CVSS Score4.3 / 10
SeverityMEDIUM
WeaknessCWE-79
CISA KEVNo
ExploitPOC
Affected1 vendor(s)
PublishedJan 30, 2012

Related CVEs (CWE-79)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2012-0782 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.