Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify WordPress site running SponsorMe ≤0.5.2
-
DeliveryCraft malicious wp-admin/admin.php URL with PHP_SELF XSS payload
-
ExploitDeliver link to authenticated WordPress admin via phishing
-
InstallAdmin clicks link, loading vulnerable SponsorMe function
-
C2PHP_SELF reflected unsanitized into form action or anchor href
-
ExecuteInjected JavaScript executes in admin browser context
-
ImpactHarvest session cookies or perform unauthorized admin actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attack requires that the SponsorMe plugin is installed and active on a WordPress site (versions 0.5.2 and below). The vulnerable code path is triggered when a page rendered by the affected function in sponsorme.php is loaded via a request to wp-admin/admin.php, meaning exploitation depends on the plugin being accessible through the WordPress admin interface. The CVSS vector PR:N confirms the attacker requires no authentication to craft the malicious link. However, UI:R is a hard requirement: a human victim - most likely a WordPress administrator with an active authenticated session - must be socially engineered into clicking the crafted URL. Exploitation is limited to WordPress deployments running PHP with the SponsorMe plugin active; the attack does not apply to non-WordPress or non-PHP environments. The non-default nature of this niche plugin limits the overall population of exposed sites. |
| Impact | The CVSS 3.1 base score of 6.1 (Medium) reflects a realistic but constrained threat profile: AV:N/AC:L/PR:N indicates low-effort, network-accessible exploitation requiring no attacker authentication or special privileges. However, UI:R (user interaction required) is a meaningful limiting factor that prevents fully automated mass exploitation. The Changed Scope with C:L/I:L/A:N indicates that while attacker impact per session is limited in CVSS terms, the practical consequence of XSS against a WordPress admin session - cookie theft, credential harvesting, unauthorized plugin installation - exceeds the raw score. No EPSS score or KEV listing was provided, and no public exploit code has been confirmed, which suggests limited current exploitation pressure. The plugin's relatively narrow install base (compared to major WordPress plugins) further constrains real-world exposure. Priority is moderate: organizations with this plugin installed should treat this as a genuine risk given the zero-authentication requirement for crafting the attack payload, even though victim interaction is required. |
| Exploit ScenarioDerived | An attacker crafts a URL targeting a WordPress site's wp-admin/admin.php endpoint with a JavaScript payload appended to the path segment (e.g., /wp-admin/admin.php/%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E), then delivers this link via phishing email or social engineering to a logged-in WordPress administrator. When the administrator clicks the link, the SponsorMe plugin reflects the unsanitized PHP_SELF value into the form action or anchor href attribute without encoding, causing the injected script to execute in the admin's browser under the WordPress origin, enabling session cookie theft or forced admin-level actions. No public exploit code has been confirmed, but the technique is well-understood and the two distinct reflection points in sponsorme.php lower the bar for manual reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 20, 2026
Reflected Cross-Site Scripting in the SponsorMe plugin for WordPress (all versions through 0.5.2) allows unauthenticated attackers to execute arbitrary JavaScript in a victim's browser by tricking an authenticated user - likely a WordPress administrator - into clicking a specially crafted wp-admin/admin.php URL. The PHP_SELF superglobal is reflected unsanitized in two distinct locations within the same vulnerable function: a form action attribute (sponsorme.php:440) and an anchor href attribute (sponsorme.php:475), doubling the attack surface. No patch has been identified at time of analysis, and no public exploit or CISA KEV listing has been confirmed.
RemediationAI
No vendor-released patch has been identified at time of analysis. The primary recommended action is to deactivate and remove the SponsorMe plugin from all WordPress installations until a patched version is released or the vendor confirms a fix. Disabling the plugin eliminates all attack surface with no functional side effect beyond loss of the sponsorship feature. As a compensating control if the plugin cannot be removed, restrict access to wp-admin/admin.php via web server rules (e.g., Apache .htaccess IP allowlisting or nginx geo-restriction) to limit who can be tricked into loading the vulnerable endpoint - note this adds administrative overhead and does not patch the underlying flaw. Web Application Firewalls (WAF) with XSS ruleset signatures, such as the Wordfence WAF for WordPress, can detect and block known PHP_SELF XSS payload patterns but should be treated as defense-in-depth rather than a primary fix. Monitor the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/7df7f541-b8aa-46fa-bfca-b333beea27f9?source=cve and the WordPress plugin repository for patch availability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the SponsorMe WordPress plugin authored by owencutajar (CPE: cpe:2.3:a:owencutajar:sponsorme:*:*:*:*:*:*:*:*). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a failure to sanitize or encode the PHP superglobal $_SERVER['PHP_SELF'] before embedding it into HTML output. In PHP, PHP_SELF contains the filename of the currently executing script including the URL path, meaning an attacker can append characters - including URL-encoded XSS payloads - directly to the request path and have them reflected verbatim into the rendered HTML. The Wordfence disclosure identifies two reflection sinks in sponsorme.php: line 440 (form action attribute) and line 475 (anchor href attribute), both within the same function. Because href and action attributes can execute JavaScript via schemes like javascript: or via event handler injection when improperly encoded, both sinks present viable XSS vectors. The CVSS Scope value of Changed (S:C) confirms the vulnerability crosses the security boundary from the WordPress plugin into the victim's browser context.
Know when Sponsorme gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The SponsorMe plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via PHP_SELF Parameter in all versions up to, and including, 0.5.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. The PHP_SELF value is reflected in two separate locations within the vulnerable function - a form action attribute and an anchor href attribute - both of which can be exploited by appending a crafted payload to the wp-admin/admin.php URL path.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-31024
GHSA-rxxc-xr9w-xfp5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB