Skip to main content

CVE-2025-1512: PowerPack Elementor Addons XSS Vulnerability

CVE-2025-1512 is a stored cross-site scripting flaw in PowerPack Elementor Addons for WordPress that allows authenticated attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published:

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-1512 Overview

CVE-2025-1512 is a Stored Cross-Site Scripting (XSS) vulnerability in the PowerPack Elementor Addons (Free Widgets, Extensions and Templates) plugin for WordPress. The flaw affects all versions up to and including 2.9.0 and resides in the Custom Cursor Extension. The root cause is insufficient input sanitization and output escaping in user-controllable fields rendered by the extension. Authenticated attackers with Contributor-level access or higher can inject arbitrary JavaScript that executes in the browser of any user who views an affected page. The vulnerability is tracked under CWE-79.

Critical Impact

Authenticated Contributors can persist JavaScript payloads that execute against site visitors and administrators, enabling session theft, account takeover, and administrative action abuse.

Affected Products

  • PowerPack Elementor Addons (Free Widgets, Extensions and Templates) plugin for WordPress
  • All versions up to and including 2.9.0
  • Sites exposing the Custom Cursor Extension functionality to Contributor-level accounts

Discovery Timeline

  • 2025-04-01 - CVE-2025-1512 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in the NVD database

Technical Details for CVE-2025-1512

Vulnerability Analysis

The vulnerability is a stored XSS flaw in the Custom Cursor Extension component of the PowerPack Elementor Addons plugin. Attackers with Contributor privileges or higher supply crafted input that the plugin stores in the database. When the plugin later renders this input through the pp-custom-cursor.js asset or related template output, it fails to escape dangerous characters. The browser then interprets the attacker-controlled content as executable JavaScript. Because the payload is persistent, every subsequent visitor to the affected page triggers execution, including administrators. The CVSS vector reflects a scope change (S:C), meaning script execution impacts resources beyond the vulnerable component, such as the WordPress admin session.

Root Cause

The plugin does not apply sufficient input sanitization when accepting configuration values for the Custom Cursor Extension, and it does not perform adequate output escaping when echoing those values into page markup or JavaScript context. This dual failure allows raw markup and script to flow from attacker-controlled input to the DOM. The fix landed in WordPress plugin changeset 3262339, which modified the Custom Cursor JavaScript handling.

Attack Vector

The attack path requires authentication at the Contributor role or above. The attacker opens a post or page editor, configures a Custom Cursor element with a payload embedded in a vulnerable field, and submits the content. When any user, including an administrator, loads the rendered page, the browser executes the injected script in the site origin. Payloads can hijack sessions, perform CSRF-backed privilege escalation, inject SEO spam, or redirect visitors. See the Wordfence vulnerability report for additional technical context.

Detection Methods for CVE-2025-1512

Indicators of Compromise

  • Posts, pages, or Elementor templates containing Custom Cursor configuration values with <script> tags, javascript: URIs, or inline event handlers such as onerror= and onload=.
  • Unexpected outbound requests from site visitors to attacker-controlled domains originating from pages that embed PowerPack Custom Cursor widgets.
  • New or modified administrator accounts created shortly after a Contributor edited content containing Custom Cursor elements.
  • Entries in wp_postmeta referencing PowerPack Custom Cursor keys with HTML or script characters in stored values.

Detection Strategies

  • Query the WordPress database for PowerPack Custom Cursor metadata containing suspicious characters: <, >, javascript:, onerror, onload.
  • Review web server access logs for Contributor-level sessions submitting unusually large or encoded payloads to admin-ajax.php or Elementor save endpoints.
  • Compare the installed plugin version against the patched release and flag any site still running 2.9.0 or earlier.
  • Use a browser-side content security policy report endpoint to catch script execution from unexpected inline sources.

Monitoring Recommendations

  • Enable WordPress audit logging to record all content edits by Contributor and Author roles, including diff of post content.
  • Monitor the Elementor data payloads submitted during post save actions for script-related tokens.
  • Alert on administrator session activity that originates immediately after rendering a page containing a Custom Cursor widget.
  • Track plugin version inventories across managed WordPress estates to ensure patched builds are deployed.

How to Mitigate CVE-2025-1512

Immediate Actions Required

  • Upgrade the PowerPack Elementor Addons plugin to a version later than 2.9.0 on every affected WordPress site.
  • Audit existing posts, pages, and templates for stored payloads in Custom Cursor fields and remove any suspicious content.
  • Rotate credentials for administrator accounts that may have viewed compromised pages while an attacker payload was active.
  • Review the Contributor and Author user list and remove accounts that are no longer required.

Patch Information

The vendor addressed the issue in a release following version 2.9.0. The remediation is visible in WordPress plugin changeset 3262339, which updates the pp-custom-cursor.js handler to properly handle untrusted input. Administrators should update through the WordPress plugin manager or by deploying the patched release through their configuration management pipeline.

Workarounds

  • Restrict content submission privileges by removing the Contributor role from untrusted users until patching is complete.
  • Disable the Custom Cursor Extension within the PowerPack settings panel if the feature is not required.
  • Deploy a Web Application Firewall rule that blocks <script> tags and inline event handlers in PowerPack Custom Cursor request parameters.
  • Enforce a strict Content Security Policy that disallows inline script execution on front-end pages to reduce payload impact.
bash
# Configuration example: identify vulnerable installations via WP-CLI
wp plugin get powerpack-lite-for-elementor --field=version
wp plugin update powerpack-lite-for-elementor

# Search database for suspicious Custom Cursor payloads
wp db query "SELECT post_id, meta_key, meta_value FROM wp_postmeta \
  WHERE meta_key LIKE '%pp_custom_cursor%' \
  AND (meta_value LIKE '%<script%' OR meta_value LIKE '%onerror=%' OR meta_value LIKE '%javascript:%');"

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.