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.
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.
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.
| Software Type | Plugin |
|---|---|
| Software Slug |
trx_addons
View on wordpress.org
|
| CVE | CVE-2025-6997 |
| Patched Versions |
2.35.2.2
|
| Affected Versions |
Versions up to 2.35.1.1
|
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.
ThemeREX Addons < 2.38.5 - Unauthenticated Arbitrary File Upload
ThemeREX Addons <= 2.32.3 - Unauthenticated Arbitrary File Upload in trx_addons_uploads_save_data
ThemeREX Addons (Various Versions) - Missing Authorization
ThemeREX Addons <= 2.33.0 - Authenticated (Contributor+) Local File Inclusion via Shortcode
This record contains material that is subject to copyright
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
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