CVE-2012-0782 Cross-site scripting in n/a
Remote attackers can inject arbitrary scripts via installation parameters in WordPress, requiring user interaction during setup.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2012-0782?
CVE-2012-0782 is a medium-severity cross-site scripting vulnerability in Wordpress Wordpress, published on 30 Jan 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
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
Weakness: CWE-79
Which versions are affected by CVE-2012-0782?
It affects 1 product.
Products include Wordpress Wordpress.
How do I fix CVE-2012-0782?
No fix has been published for CVE-2012-0782 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2012-0782 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-0782 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Wordpress Wordpress
Sources
Also known as DEBIAN-CVE-2012-0782, GHSA-whf8-2944-v69h.