Skip to main content
Vulnerability Database/CVE-2025-30925

CVE-2025-30925: The Pack Elementor Addons XSS Vulnerability

CVE-2025-30925 is a stored cross-site scripting vulnerability in The Pack Elementor addons plugin that enables 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-30925 Overview

CVE-2025-30925 is a stored Cross-Site Scripting (XSS) vulnerability in the webangon The Pack Elementor addons WordPress plugin (the-pack-addon). The flaw affects all versions from an unspecified initial release through 2.1.1. Authenticated contributors can inject malicious JavaScript that executes in the browsers of site visitors and administrators who view the affected pages. The weakness is tracked as [CWE-79] (Improper Neutralization of Input During Web Page Generation).

Critical Impact

Successful exploitation allows an attacker with low-privileged authenticated access to store JavaScript payloads that execute in victim browsers, enabling session hijacking, defacement, and credential theft across a WordPress site.

Affected Products

  • webangon The Pack Elementor addons (the-pack-addon) plugin for WordPress
  • All versions up to and including 2.1.1
  • WordPress sites running Elementor with this addon installed

Discovery Timeline

  • 2025-03-27 - CVE-2025-30925 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-30925

Vulnerability Analysis

The vulnerability is a stored XSS flaw in The Pack Elementor addons plugin. The plugin fails to properly neutralize user-supplied input before rendering it in generated web pages. Attackers with contributor-level access or higher can inject script payloads into plugin-controlled fields such as widget parameters or shortcode attributes.

Once persisted, the payload is served to any user who loads the affected page or post. Because the script executes within the same origin as the WordPress site, it inherits the trust and session context of the viewing user. The scope-changed impact reflects that a lower-privileged attacker can affect higher-privileged administrators.

Root Cause

The root cause is missing or insufficient output encoding and input sanitization inside plugin widget rendering logic. Fields intended for text or URL content accept HTML and JavaScript characters without escaping using WordPress functions such as esc_html(), esc_attr(), or wp_kses_post(). Refer to the Patchstack XSS Vulnerability Report for technical specifics.

Attack Vector

Exploitation requires network access to the WordPress admin interface and authenticated low-privilege credentials. The attacker also requires user interaction, meaning a victim must load the page containing the malicious payload. The attacker submits crafted content through an Elementor widget provided by the plugin. When an administrator or visitor renders the page, the injected script executes in their browser and can perform actions as that user.

Detection Methods for CVE-2025-30925

Indicators of Compromise

  • Unexpected <script> tags, event handlers such as onerror or onload, or javascript: URIs stored in post metadata created by The Pack Elementor addons widgets.
  • New or modified WordPress administrator accounts created shortly after contributor-level users edited Elementor pages.
  • Outbound browser requests from admin sessions to unfamiliar domains after loading affected pages.

Detection Strategies

  • Audit the wp_postmeta table for Elementor data entries containing HTML script tags or JavaScript event attributes.
  • Review the plugin version across all WordPress installations and flag any instance at or below the-pack-addon 2.1.1.
  • Correlate contributor account activity with page edits that introduce plugin widgets, focusing on unusual input patterns.

Monitoring Recommendations

  • Enable WordPress activity logging to capture post edits, user role changes, and plugin configuration updates.
  • Deploy a web application firewall (WAF) rule set that inspects POST requests to admin-ajax.php and Elementor endpoints for XSS signatures.
  • Monitor browser Content Security Policy (CSP) violation reports to surface injected inline scripts.

How to Mitigate CVE-2025-30925

Immediate Actions Required

  • Update The Pack Elementor addons plugin to a version later than 2.1.1 as soon as a patched release is available from the vendor.
  • Restrict contributor and author role assignments to trusted users only, since these roles can trigger the vulnerability.
  • Review recent page and post revisions for injected scripts and revert or sanitize affected content.

Patch Information

The advisory identifies all versions up to and including 2.1.1 as vulnerable. Consult the Patchstack XSS Vulnerability Report for the current fixed version. Apply the update through the WordPress plugin manager or by replacing the plugin files manually.

Workarounds

  • Deactivate and remove The Pack Elementor addons plugin until a patched version is installed.
  • Enforce a strict Content Security Policy that blocks inline scripts and unauthorized external script sources.
  • Use a WAF with managed XSS rules from Patchstack, Wordfence, or a similar provider to block payload delivery attempts.
bash
# Example: check installed plugin version via WP-CLI and disable if vulnerable
wp plugin get the-pack-addon --field=version
wp plugin deactivate the-pack-addon

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.