{"id":"CVE-2025-6997","aliases":["CVE-2025-6997"],"related":[],"kind":"vulnerability","state":"published","title":"ThemeREX Addons <= 2.35.1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via trx_addons_get_svg_from_file Function","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El complemento ThemeREX Addons para WordPress es vulnerable a Cross-Site Scripting (XSS) Almacenado al subir archivos SVG en todas las versiones hasta la 2.35.1.1 incluida, debido a una depuración de entrada insuficiente y un escape de salida insuficiente. La rutina de renderizado SVG del complemento llama a la función trx_addons_get_svg_from_file() con un parámetro 'svg' no validado, proporcionado mediante el shortcode o la configuración del widget de Elementor, y luego lo genera mediante la función trx_addons_show_layout(). Dado que no se verifica el origen, el esquema ni el contenido SVG de la URL, los atacantes autenticados con acceso de colaborador o superior pueden proporcionar un SVG remoto e inyectar scripts web arbitrarios en las páginas que se ejecutarán al acceder al archivo SVG.","source":"nvd"}],"published":"2025-07-19T08:24:22.251Z","modified":"2026-06-17T10:03:00.953Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.35.1.1","status":"affected"}],"vendor":"ThemeREX","product":"ThemeREX Addons","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.35.2.2"}],"vendor":"themerex","product":"addons","cpe":"cpe:2.3:a:themerex:addons:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/e1b19017-b2f0-4c3b-b263-1fbec6f1dce4?source=cve","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://themerex.net/wp/download_plugins/themerex-addons/","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["Matthew Rollings"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-07-21T17:58:14.309Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-6997","url":"https://www.cve.org/CVERecord?id=CVE-2025-6997","licence":"CVE Terms of Use","modified":"2026-04-08T17:28:59.504Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-6997","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6997","licence":"Public domain","modified":"2026-06-17T10:03:00.953Z"}],"updatedAt":"2026-11-25T22:59:01.442Z","epss":{"score":0.00386,"percentile":0.24437,"date":"2026-11-30T12:00:22.000Z"}}