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-5290 Overview
CVE-2025-5290 is a Stored Cross-Site Scripting (XSS) vulnerability in the Borderless – Elementor Addons and Templates plugin for WordPress. The flaw affects all versions up to and including 1.7.1. It resides in the title parameter used by progress bar widgets, where the plugin fails to properly sanitize input and escape output. Authenticated users with Contributor-level access or higher can inject arbitrary JavaScript into pages. The injected script executes in the browser of any user who views the affected page. The weakness is tracked under CWE-79.
Critical Impact
Authenticated contributors can inject persistent JavaScript that executes against site visitors and administrators, enabling session theft, credential capture, and administrative account takeover.
Affected Products
- Borderless – Elementor Addons and Templates plugin for WordPress (all versions ≤ 1.7.1)
- Circular Progress Bar, Progress Bar, and Semi-Circular Progress Bar widget modules
- WordPress sites using the Elementor page builder with the Borderless plugin enabled
Discovery Timeline
- 2025-05-31 - CVE-2025-5290 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-5290
Vulnerability Analysis
The vulnerability is a stored XSS flaw in multiple Elementor widgets shipped with the Borderless plugin. The affected widgets include circular-progress-bar.php, progress-bar.php, and semi-circular-progress-bar.php. Each widget accepts a title parameter that is rendered into the page without adequate escaping. Because the payload is persisted in post or page content, every visitor to the affected page triggers execution. The attack is cross-origin in effect, running in the authenticated context of logged-in administrators who browse the compromised page.
Root Cause
The root cause is insufficient input sanitization combined with missing output escaping for the title parameter. The widget rendering logic concatenates user-supplied values into HTML markup without wrapping them in WordPress escaping helpers such as esc_html() or esc_attr(). The companion client-side script borderless-elementor.min.js also processes title values at offsets L72, L230, and L288 without neutralizing script content. This permits HTML and JavaScript injection through a field intended for display text.
Attack Vector
Exploitation requires authenticated access at Contributor level or above. An attacker edits a post or page, inserts a vulnerable progress bar widget, and places a JavaScript payload in the title field. After the post is saved and viewed, the payload executes in the browser of each visitor. Attackers can leverage this to steal session cookies, perform actions on behalf of administrators, pivot into plugin management, or redirect users to attacker-controlled infrastructure. See the Wordfence Vulnerability Report for additional context.
Detection Methods for CVE-2025-5290
Indicators of Compromise
- Progress bar, circular progress bar, or semi-circular progress bar widgets whose title attribute contains <script>, onerror=, onload=, or javascript: sequences.
- Unexpected outbound requests from site visitors to unknown domains originating from pages that embed Borderless widgets.
- New or modified posts authored by Contributor-level accounts that include Elementor data referencing the affected widget types.
Detection Strategies
- Query the WordPress wp_postmeta table for Elementor _elementor_data entries containing the vulnerable widget identifiers alongside HTML tag characters in the title field.
- Deploy a web application firewall rule that inspects stored post content for script tags inside Borderless widget JSON payloads.
- Review audit logs for post edits performed by Contributor accounts that modify pages containing progress bar widgets.
Monitoring Recommendations
- Monitor WordPress admin and REST API activity for Contributor accounts creating or editing Elementor widgets of the affected types.
- Alert on Content Security Policy violation reports originating from pages that host Borderless widgets.
- Track plugin version inventory across WordPress deployments and flag any instance of Borderless ≤ 1.7.1.
How to Mitigate CVE-2025-5290
Immediate Actions Required
- Update the Borderless – Elementor Addons and Templates plugin to the version published in WordPress changeset 3302155 or later.
- Audit existing posts and pages for malicious script content inside progress bar widget title fields and remove any injected payloads.
- Review Contributor-level accounts for legitimacy and rotate credentials for any accounts suspected of abuse.
Patch Information
The maintainers resolved the issue in the Borderless plugin changeset referenced at WordPress changeset 3302155. The fix adds proper sanitization and escaping to the title parameter in the circular, standard, and semi-circular progress bar widgets. Site operators should install the patched release through the WordPress plugin updater and confirm the version is above 1.7.1.
Workarounds
- Restrict Contributor and Author role assignments to trusted users until the plugin is updated.
- Disable the Borderless – Elementor Addons and Templates plugin on sites that cannot be patched immediately.
- Enforce a strict Content Security Policy that blocks inline scripts to reduce the impact of stored XSS payloads.
# Verify the installed Borderless plugin version using WP-CLI
wp plugin get borderless --field=version
# Update the Borderless plugin to the latest patched release
wp plugin update borderless
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

