CVE-2025-4479
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-19

Last updated on: 2025-07-10

Assigner: Wordfence

Description
The ElementsKit Elementor Addons and Templates plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin image comparison widget's before/after labels in all versions up to, and including, 3.5.2 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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-19
Last Modified
2025-07-10
Generated
2026-05-07
AI Q&A
2025-06-19
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wpmet elementskit_elementor_addons to 3.5.3 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-4479 is a Stored Cross-Site Scripting (XSS) vulnerability in the ElementsKit Elementor Addons and Templates WordPress plugin, specifically in the image comparison widget's before/after labels. The vulnerability exists because the plugin does not properly sanitize or escape user-supplied input in these labels. This allows authenticated users with contributor-level access or higher to inject arbitrary JavaScript code into pages. When other users visit these pages, the injected scripts execute in their browsers, potentially compromising their security.


How can this vulnerability impact me? :

This vulnerability can impact you by allowing attackers with contributor-level access to inject malicious scripts into your website's pages. These scripts can execute in the browsers of visitors to the affected pages, potentially leading to theft of user credentials, session hijacking, defacement, or distribution of malware. Since the vulnerability is a stored XSS, the malicious code persists on the site and affects all users who view the injected content, increasing the risk and impact.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

Detection of this vulnerability involves identifying pages using the ElementsKit Elementor Addons and Templates plugin with the vulnerable image comparison widget before/after labels. Since the vulnerability allows stored cross-site scripting via these labels, you can detect it by scanning for suspicious script tags or encoded payloads in the widget's before/after label fields. On the system, you can search the WordPress database for injected scripts in these widget settings. Network detection can involve monitoring HTTP responses for injected scripts in pages served by the plugin. Specific commands include using SQL queries to search the WordPress database for suspicious content in the relevant widget fields, or using web vulnerability scanners that detect stored XSS in WordPress plugins. For example, to search the WordPress database via command line, you might use: `mysql -u [user] -p -e "SELECT * FROM wp_postmeta WHERE meta_key LIKE '%elementskit%' AND meta_value LIKE '%<script>%'" [database_name]`. Additionally, web application scanners like OWASP ZAP or Burp Suite can be used to crawl and detect stored XSS payloads in the affected pages.


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include updating the ElementsKit Elementor Addons and Templates plugin to a version later than 3.5.2 where the vulnerability is fixed. If an update is not immediately available, restrict contributor-level and higher user permissions to trusted users only, as the vulnerability requires authenticated users with contributor-level access or above to exploit. Additionally, implement Web Application Firewall (WAF) rules to block common XSS payloads targeting the before/after labels of the image comparison widget. As a temporary measure, disable or remove the vulnerable image comparison widget from your pages until a patch is applied. Finally, review and sanitize any existing content in the before/after labels to remove injected scripts.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart