CVE-2025-6997: ThemeREX Addons <= 2.35.1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via trx_addons_get_svg_from_file Function

Published Jul 19, 2025
·
Updated

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 trxaddonsgetsvgfromfile() function on an unvalidated 'svg' parameter supplied via the shortcode or Elementor widget settings, then outputs it via the trxaddonsshowlayout() 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.

Affected Software

2 affected components
ThemeREX Addons<=2.35.1.1
ThemeREX Addons Wordpress<2.35.2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ThemeREX Addons (WordPress plugin) to a version that resolves this vulnerability.

    Fixed in 2.35.1.1

Event History

Jul 19, 2025
CVE Published
via MITRE·08:24 AM
Data Sourced
via MITRE·08:24 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-6997?

The severity of CVE-2025-6997 is considered high due to the potential for stored cross-site scripting attacks.

2

How do I fix CVE-2025-6997?

To fix CVE-2025-6997, update the ThemeREX Addons plugin to version 2.35.1.2 or later.

3

What types of attacks are possible with CVE-2025-6997?

CVE-2025-6997 allows for stored cross-site scripting attacks via malicious SVG file uploads.

4

Which versions of ThemeREX Addons are affected by CVE-2025-6997?

All versions of ThemeREX Addons up to and including version 2.35.1.1 are affected by CVE-2025-6997.

5

What is the main cause of the vulnerability CVE-2025-6997?

The main cause of CVE-2025-6997 is insufficient input sanitization and output escaping in the plugin's SVG rendering routine.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203