CVE-2025-6997: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ThemeREX ThemeREX Addons
The ThemeREX Addons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 2.35.1.1 due to insufficient input sanitization and output escaping. The plugin’s SVG rendering routine calls the trx_addons_get_svg_from_file() function on an unvalidated 'svg' parameter supplied via the shortcode or Elementor widget settings, then outputs it via the trx_addons_show_layout() function. Because there is no check on the URL’s origin, scheme, or the SVG content itself, authenticated attackers, with Contributor-level access and above, can supply a remote SVG and inject arbitrary web scripts in pages that will execute whenever a user accesses the SVG file.
AI Analysis
Technical Summary
The ThemeREX Addons plugin for WordPress suffers from a stored cross-site scripting vulnerability due to improper neutralization of input during web page generation (CWE-79). The vulnerability exists in the SVG rendering routine where the function trx_addons_get_svg_from_file() processes an unvalidated 'svg' parameter from shortcode or Elementor widget settings. Because there is no validation of the SVG URL's origin, scheme, or content, an authenticated attacker with Contributor or higher privileges can inject malicious scripts via remote SVG files. These scripts execute in the context of users viewing the pages containing the SVG, potentially leading to session hijacking or other client-side attacks. The vulnerability affects all versions up to and including 2.35.1.1. No patch or official fix information is provided in the data.
Potential Impact
An attacker with Contributor-level or higher access can upload or reference a malicious remote SVG file that contains executable scripts. These scripts are stored and rendered to users visiting the affected pages, enabling cross-site scripting attacks. The impact includes potential theft of user credentials, session tokens, or other malicious client-side actions. The vulnerability does not affect availability but impacts confidentiality and integrity of user sessions. The CVSS vector indicates network attack vector, low attack complexity, privileges required, no user interaction, and scope change.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and consider disabling SVG file uploads or shortcode/widget features that accept SVG parameters. Monitor for updates from ThemeREX regarding patches or official mitigations. Avoid using untrusted SVG content in the plugin's shortcode or Elementor widgets.
CVE-2025-6997: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ThemeREX ThemeREX Addons
Description
The ThemeREX Addons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 2.35.1.1 due to insufficient input sanitization and output escaping. The plugin’s SVG rendering routine calls the trx_addons_get_svg_from_file() function on an unvalidated 'svg' parameter supplied via the shortcode or Elementor widget settings, then outputs it via the trx_addons_show_layout() function. Because there is no check on the URL’s origin, scheme, or the SVG content itself, authenticated attackers, with Contributor-level access and above, can supply a remote SVG and inject arbitrary web scripts in pages that will execute whenever a user accesses the SVG file.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The ThemeREX Addons plugin for WordPress suffers from a stored cross-site scripting vulnerability due to improper neutralization of input during web page generation (CWE-79). The vulnerability exists in the SVG rendering routine where the function trx_addons_get_svg_from_file() processes an unvalidated 'svg' parameter from shortcode or Elementor widget settings. Because there is no validation of the SVG URL's origin, scheme, or content, an authenticated attacker with Contributor or higher privileges can inject malicious scripts via remote SVG files. These scripts execute in the context of users viewing the pages containing the SVG, potentially leading to session hijacking or other client-side attacks. The vulnerability affects all versions up to and including 2.35.1.1. No patch or official fix information is provided in the data.
Potential Impact
An attacker with Contributor-level or higher access can upload or reference a malicious remote SVG file that contains executable scripts. These scripts are stored and rendered to users visiting the affected pages, enabling cross-site scripting attacks. The impact includes potential theft of user credentials, session tokens, or other malicious client-side actions. The vulnerability does not affect availability but impacts confidentiality and integrity of user sessions. The CVSS vector indicates network attack vector, low attack complexity, privileges required, no user interaction, and scope change.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and consider disabling SVG file uploads or shortcode/widget features that accept SVG parameters. Monitor for updates from ThemeREX regarding patches or official mitigations. Avoid using untrusted SVG content in the plugin's shortcode or Elementor widgets.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-07-01T22:08:38.522Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 687b5b52a83201eaacfba692
Added to database: 7/19/2025, 8:46:10 AM
Last enriched: 4/9/2026, 10:42:38 AM
Last updated: 5/10/2026, 10:04:53 AM
Views: 177
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.