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

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 24% of CVEs (2026-11-30)
- Published: 2025-07-19T08:24:22.251Z
- Modified: 2026-06-17T10:03:00.953Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- ThemeREX ThemeREX Addons: up to 2.35.1.1
- themerex addons: before 2.35.2.2

## Every score

- Wordfence: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/e1b19017-b2f0-4c3b-b263-1fbec6f1dce4?source=cve> (third-party-advisory)
- <https://themerex.net/wp/download_plugins/themerex-addons/> (product)

## Sources

- CVE List: [CVE-2025-6997](https://www.cve.org/CVERecord?id=CVE-2025-6997), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-6997](https://nvd.nist.gov/vuln/detail/CVE-2025-6997), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-6997 · Whole record: https://cve.day/CVE-2025-6997.json · Rebuilt by cve.day 2026-11-25T22:59:01.442Z
