CVE-2012-2920 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML via PATH_INFO in the User Photo plugin, potentially leading to session hijacking or malicious actions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2012-2920?
CVE-2012-2920 is a medium-severity cross-site scripting vulnerability in n/a, published on 21 May 2012. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in the userphoto_options_page function in user-photo.php in the User Photo plugin before 0.9.5.2 for WordPress allows remote attackers to inject arbitrary web script or HTML via the PATH_INFO to wp-admin/options-general.php. NOTE: some of these details are obtained from third party information.
Weakness: CWE-79
Which versions are affected by CVE-2012-2920?
It affects 1 product.
Products include User Photo User Photo.
How do I fix CVE-2012-2920?
No fix has been published for CVE-2012-2920 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-2920 being exploited?
There is no known exploitation of CVE-2012-2920 in the wild and no public exploit code.
Sources
Also known as GHSA-j9r4-8gpw-9hh6.