Skip to main content

CVE-2025-0311: Orbit Fox Pricing Table Widget XSS Vulnerability

CVE-2025-0311 is a stored cross-site scripting flaw in the Orbit Fox by ThemeIsle WordPress plugin that lets authenticated attackers 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-0311 Overview

The Orbit Fox by ThemeIsle plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the Pricing Table widget. The flaw affects all versions up to and including 2.10.43. It stems from insufficient input sanitization and output escaping on user-supplied attributes handled by the Elementor extra widgets module.

Authenticated attackers with contributor-level access or higher can inject arbitrary JavaScript into pages. The injected script executes in the browser of any visitor who loads the compromised page. The issue is tracked under CWE-79: Improper Neutralization of Input During Web Page Generation.

Critical Impact

Authenticated contributors can store JavaScript payloads that execute against site visitors and administrators, enabling session theft, account takeover, and administrative action abuse via a scope-changed browser context.

Affected Products

  • Themeisle Orbit Fox (themeisle-companion) plugin for WordPress
  • All versions up to and including 2.10.43
  • Specifically the Elementor Pricing Table widget in obfx_modules/elementor-extra-widgets/widgets/elementor/pricing-table.php

Discovery Timeline

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

Technical Details for CVE-2025-0311

Vulnerability Analysis

The Orbit Fox Pricing Table widget renders Elementor settings controlled by users with contributor-level permissions. Two distinct injection sinks exist in pricing-table.php. The first accepts arbitrary strings for title_tag and subtitle_tag settings and concatenates them directly into HTML element tags. The second passes the button_link URL into a render attribute without URL sanitization.

Because contributors can supply Elementor widget attributes while editing posts, they can store malicious tag names or javascript: URLs. When an editor or site visitor renders the post, the browser parses the injected markup and executes attacker-controlled JavaScript. The scope-changed impact (S:C in the CVSS vector) reflects that script executes in the WordPress admin's browser context, outside the attacker's own permission boundary.

Root Cause

The plugin called esc_html() on $settings['title_tag'] and $settings['subtitle_tag'] but did not restrict those values to a safe allowlist of HTML tags. An attacker could submit a crafted string that broke out of the tag context by injecting attributes or event handlers. Separately, the button href attribute was built from $settings['button_link']['url'] without esc_url(), allowing javascript: URIs to be stored and later rendered.

Attack Vector

An attacker with contributor-level WordPress credentials creates or edits an Elementor page containing the Orbit Fox Pricing Table widget. They supply a malicious title_tag, subtitle_tag, or button_link value. When any authenticated user, including administrators, previews or views the resulting page, the stored payload executes in that user's browser session.

php
// Vulnerable rendering logic (pre-patch) in pricing-table.php
$output .= '<' . esc_html( $settings['title_tag'] ) . ' ' . $this->get_render_attribute_string( 'title' ) . '>';
// $settings['title_tag'] is user-controlled; esc_html() does not prevent
// attribute injection when the value is used as an HTML tag name.

// Vulnerable button href construction (pre-patch)
$this->add_render_attribute( 'button', 'href', $settings['button_link']['url'] );
// No esc_url() allows javascript: URIs to be stored and rendered.

Source: Codeinwp/themeisle-companion commits 47a17c8 and c311050

Detection Methods for CVE-2025-0311

Indicators of Compromise

  • Elementor post or page content containing title_tag or subtitle_tag values outside the set h1-h6 or p
  • Stored button_link URL values beginning with javascript: or data: schemes within Orbit Fox Pricing Table widgets
  • Unexpected <script> tags, event handler attributes (onerror, onclick), or inline HTML in rendered pages produced by contributor accounts
  • WordPress postmeta records referencing the obfx-pricing-table widget with non-standard attribute payloads

Detection Strategies

  • Query the wp_postmeta table for Elementor data serialized with the Orbit Fox Pricing Table widget and inspect title_tag, subtitle_tag, and button_link fields for anomalous content
  • Review the WordPress audit log for contributor accounts creating or updating posts that embed the Pricing Table widget
  • Monitor outbound HTTP responses for inline JavaScript originating from pages that render the vulnerable widget
  • Correlate newly registered or recently promoted contributor accounts with post publishing activity

Monitoring Recommendations

  • Enable WordPress security plugin logging that captures post revisions, user role changes, and plugin version state
  • Alert on administrator sessions that trigger JavaScript errors or Content Security Policy violations when loading contributor-authored posts
  • Track plugin version compliance across managed WordPress sites to confirm Orbit Fox is at 2.10.44 or later

How to Mitigate CVE-2025-0311

Immediate Actions Required

  • Update the Orbit Fox by ThemeIsle plugin to a version later than 2.10.43 that includes the fixes from WordPress changeset 3219568
  • Audit all existing Elementor posts that use the Pricing Table widget and remove or sanitize any suspicious title_tag, subtitle_tag, or button_link values
  • Review contributor and author accounts, removing accounts that are unused or exhibit suspicious activity
  • Rotate credentials and administrator sessions if evidence suggests payloads executed against privileged users

Patch Information

ThemeIsle addressed the issue in two commits to the themeisle-companion repository. Commit 47a17c8 restricts title_tag and subtitle_tag to an allowlist of h1-h6 and p. Commit c311050 wraps the button URL with esc_url(). Both fixes shipped in WordPress plugin changeset 3219568.

The post-patch rendering logic enforces the allowlist:

php
// Patched rendering logic in pricing-table.php
$title_tag = in_array(
    $settings['title_tag'],
    array( 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p' ),
    true
) ? $settings['title_tag'] : 'h1';
$output .= '<' . esc_html( $title_tag ) . ' ' . $this->get_render_attribute_string( 'title' ) . '>';

// Patched button href construction
$this->add_render_attribute( 'button', 'href', esc_url( $settings['button_link']['url'] ) );

Source: Codeinwp/themeisle-companion commits

Workarounds

  • Temporarily disable the Orbit Fox Pricing Table widget via the plugin's module settings until the patched release is deployed
  • Restrict contributor-level and author-level accounts from editing posts that contain Elementor widgets
  • Deploy a Content Security Policy that blocks inline scripts and disallows javascript: URIs across the WordPress front end
  • Place a web application firewall rule in front of /wp-admin/admin-ajax.php to block Elementor save requests containing script tags or javascript: URL schemes
bash
# Verify installed Orbit Fox version via WP-CLI and update if vulnerable
wp plugin get themeisle-companion --field=version
wp plugin update themeisle-companion

# List posts referencing the Orbit Fox Pricing Table widget for review
wp db query "SELECT post_id FROM wp_postmeta \
  WHERE meta_key='_elementor_data' \
  AND meta_value LIKE '%obfx-pricing-table%';"

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.