CVE-2007-1049: XSS in WordPress wp_explain_nonce (nonce AYS)
- Vendor
- Wordpress
A cross-site scripting (XSS) vulnerability exists in the wp_explain_nonce function within the nonce AYS functionality in wp-includes/functions.php in WordPress versions 2.0 before 2.0.9 and 2.1 before 2.1.1. The vulnerability allows remote attackers to inject arbitrary web script or HTML via the file parameter to wp-admin/templates.php, and potentially through other vectors involving the action variable.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary JavaScript in the context of the victim's browser session, potentially leading to session hijacking, credential theft, or other attacks leveraging the user's authenticated state.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to wp-admin/templates.php and validate or sanitize user-supplied input to the file and action parameters to prevent injection of malicious scripts.
Remediation
Patch, then assume compromise.
Upgrade WordPress to version 2.0.9, 2.1.1, or later, where the vulnerability has been patched.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2007-1049 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-1049 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-1049?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2007-1049.
- Is there a patch for CVE-2007-1049?
- Upgrade WordPress to version 2.0.9, 2.1.1, or later, where the vulnerability has been patched.
- What products are affected by CVE-2007-1049?
- Wordpress.
- How severe is CVE-2007-1049?
- CVE-2007-1049 has a CVSS v2 score of 4.3 (Medium) and an EPSS score of 6.5% (94th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.