CVE-2007-1049 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML via the file parameter in WordPress admin templates, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2007-1049?
CVE-2007-1049 is a medium-severity cross-site scripting vulnerability in Wordpress Wordpress, published on 21 Feb 2007. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in the wp_explain_nonce function in the nonce AYS functionality (wp-includes/functions.php) for WordPress 2.0 before 2.0.9 and 2.1 before 2.1.1 allows remote attackers to inject arbitrary web script or HTML via the file parameter to wp-admin/templates.php, and possibly other vectors involving the action variable.
Which versions are affected by CVE-2007-1049?
It affects 1 product.
Products include Wordpress Wordpress.
How do I fix CVE-2007-1049?
Upgrade to a fixed version.
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-2007-1049 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-1049 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Wordpress Wordpress
Sources
Also known as DEBIAN-CVE-2007-1049, DTSA-34-1, GHSA-5c83-v5f6-vqjc.