Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-3275 Overview
CVE-2025-3275 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the Themesflat Addons For Elementor plugin for WordPress. The flaw exists in the TF E Slider widget and impacts all versions up to and including 2.2.5. The plugin fails to properly sanitize user input and escape output rendered by the slider widget [CWE-79].
Authenticated users with Contributor-level access or higher can inject arbitrary JavaScript into pages. The malicious script executes in the browser of any visitor who views an affected page, enabling session theft, forced redirects, or administrative action abuse.
Critical Impact
Contributor-level attackers can persist JavaScript payloads inside published content, exposing site visitors and administrators to account takeover and content tampering.
Affected Products
- Themesflat Addons For Elementor plugin for WordPress
- All versions up to and including 2.2.5
- WordPress sites exposing the TF E Slider widget to Contributor-level editors
Discovery Timeline
- 2025-04-19 - CVE-2025-3275 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-3275
Vulnerability Analysis
The vulnerability resides in the slider rendering logic shipped with assets/js/tf-flexslider.js. The widget accepts attributes supplied through the Elementor editor and injects them into the page DOM without sufficient sanitization or output escaping. Because Elementor widget attributes are stored in post meta, any injected payload persists across page loads, qualifying the issue as stored XSS.
Contributor accounts in WordPress can create and edit their own posts but cannot normally publish them. However, draft content is routinely previewed by editors and administrators, which is enough to trigger the payload in a privileged session. Once executed, the attacker-controlled script runs under the site's origin and inherits the viewing user's permissions.
Root Cause
The TF E Slider widget concatenates user-controlled values into HTML output without applying WordPress escaping helpers such as esc_attr(), esc_html(), or wp_kses_post(). The companion JavaScript in tf-flexslider.js also writes attribute values into the DOM without encoding, allowing event handlers and <script> payloads to render as executable markup.
Attack Vector
An authenticated Contributor edits a page or post that uses the TF E Slider widget and sets a widget field to a crafted payload such as an onerror handler or inline <script> block. When any user with the ability to view that content loads the page, the payload executes in their browser context. The attack requires no user interaction beyond navigating to the affected page.
No validated proof-of-concept code targeting this specific plugin is published in the referenced sources. See the Wordfence Vulnerability Report and the WordPress Change Set 2.2.2 for the vendor's remediation diff.
Detection Methods for CVE-2025-3275
Indicators of Compromise
- Post or page meta entries containing <script>, onerror=, onload=, or javascript: strings inside Themesflat slider widget attributes.
- Unexpected outbound requests from browser sessions of administrators who recently previewed Contributor-authored content.
- New or modified administrator accounts following editorial review of slider-enabled pages.
Detection Strategies
- Query the wp_postmeta table for _elementor_data entries referencing tf-e-slider and inspect them for HTML or JavaScript tokens.
- Review web server access logs for POST requests to /wp-admin/admin-ajax.php with action=elementor_ajax originating from Contributor accounts.
- Enable Content Security Policy (CSP) reporting to surface inline script executions on pages rendered by the plugin.
Monitoring Recommendations
- Audit the role assignments of all users with Contributor privileges or higher and remove unused accounts.
- Alert on changes to installed plugin versions and on edits to posts that include Themesflat widgets.
- Track preview and publish actions performed by non-administrative users for pages containing slider widgets.
How to Mitigate CVE-2025-3275
Immediate Actions Required
- Update Themesflat Addons For Elementor to a version later than 2.2.5 that includes the fix referenced in the vendor change set.
- Temporarily restrict Contributor and Author roles from editing pages that use the TF E Slider widget until patching is complete.
- Review all existing posts rendered with the slider widget for injected markup and sanitize or revert affected content.
Patch Information
The vendor addressed the sanitization gap in the plugin's slider assets. See the WordPress Change Set 2.2.2 for the modifications to tf-flexslider.js, and refer to the current plugin source to confirm the deployed version includes the remediation.
Workarounds
- Deactivate the Themesflat Addons For Elementor plugin until the patched release is installed.
- Enforce a strict Content Security Policy that blocks inline scripts and untrusted event handlers on front-end pages.
- Place a Web Application Firewall rule in front of /wp-admin/admin-ajax.php to filter Elementor payloads containing HTML tags or JavaScript event attributes.
# Example WP-CLI command to force-upgrade the plugin once a fixed version is available
wp plugin update themesflat-addons-for-elementor --version=<patched-version>
wp cache flush
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

