Vulnerability Report
Plugin Medium Patch path listed CVE-2025-6997

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

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.

Quick Answer

CVE-2025-6997 is a medium severity with CVSS 6.4 File Upload issue affecting the Plugin ThemeREX Addons. It affects Versions up to 2.35.1.1 and is fixed in 2.35.2.2.

Published
Jul 18, 2025
Last Updated
Jul 19, 2025
Slug
trx_addons
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 2.35.2.2, or a newer patched version
Operator Briefing

CVE-2025-6997 is tracked for the Plugin ThemeREX Addons as medium severity with CVSS 6.4. The affected range is Versions up to 2.35.1.1. Update ThemeREX Addons to 2.35.2.2 or newer where that version is compatible with the site.

Issue Type
File Upload
Primary Fixed Version
2.35.2.2
Primary Affected Range
Versions up to 2.35.1.1
Tracking ID
CVE-2025-6997
Detailed Metadata
Software Type Plugin
Software Slug
CVE CVE-2025-6997
Patched Versions
2.35.2.2
Affected Versions
Versions up to 2.35.1.1
Related CVE Cluster

Related CVEs for ThemeREX Addons

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more