CVE-2007-1049

WordPress 2.0-2.0.8 and 2.1 - Cross-Site Scripting via wp_explain_nonce Function

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-1049. PoCs published by PsychoGun.

AI-analyzed exploit summary This exploit demonstrates a cross-site scripting (XSS) vulnerability in WordPress by injecting arbitrary JavaScript code via the 'file' parameter in the templates.php admin page. The vulnerability arises due to insufficient input sanitization.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by PsychoGun · textwebappsphp
https://www.exploit-db.com/exploits/29598

This exploit demonstrates a cross-site scripting (XSS) vulnerability in WordPress by injecting arbitrary JavaScript code via the 'file' parameter in the templates.php admin page. The vulnerability arises due to insufficient input sanitization.

Classification
Working Poc 90%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: WordPress (version not specified)
Auth required
Prerequisites: Access to WordPress admin panel · User interaction to trigger the payload
MITRE ATT&CK
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →

References (10)

Core 10
Core References
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200703-23.xml
Patch x_refsource_confirm
http://trac.wordpress.org/changeset/4876
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/24306
Product x_refsource_confirm
http://trac.wordpress.org/changeset/4877
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/0741
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/33766
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/22534
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/24566
Vendor Advisory x_refsource_confirm
http://trac.wordpress.org/ticket/3781

Scores

EPSS 0.0629
EPSS Percentile 92.8%

Details

Status published
Products (20)
wordpress/wordpress 0.6.2 beta_2
wordpress/wordpress 0.6.2.1 beta_2
wordpress/wordpress 0.7
wordpress/wordpress 0.71
wordpress/wordpress 1.2.2
wordpress/wordpress 1.5
wordpress/wordpress 1.5.1
wordpress/wordpress 1.5.1.2
wordpress/wordpress 1.5.1.3
wordpress/wordpress 1.5.2
... and 10 more
Published Feb 21, 2007
Tracked Since Feb 18, 2026