Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-102798 Overview
CVE-2026-102798 is a stored cross-site scripting (XSS) vulnerability in the ThemeREX Addons WordPress plugin (trx_addons) by ThemeREX Group. The flaw affects all plugin versions up to and including 2.46.0. The issue stems from improper neutralization of user-supplied input during web page generation, classified under [CWE-79]. Authenticated attackers with low privileges can inject malicious scripts that persist in the application and execute in the browsers of other users who view the affected pages.
Critical Impact
Successful exploitation enables stored script execution across a scope-changed security boundary, impacting confidentiality, integrity, and availability of the affected WordPress site and its visitors.
Affected Products
- ThemeREX Addons (trx_addons) plugin for WordPress
- All versions from n/a through 2.46.0
- WordPress sites using ThemeREX-based themes bundled with the plugin
Discovery Timeline
- 2026-10-02 - CVE-2026-102798 published to NVD
- 2026-10-02 - Last updated in NVD database
Technical Details for CVE-2026-102798
Vulnerability Analysis
The vulnerability is a stored XSS flaw in the ThemeREX Addons plugin. The plugin fails to properly sanitize or encode input before rendering it inside generated web pages. An authenticated user with low-level privileges can submit crafted payloads containing HTML or JavaScript. The server persists this input and later renders it without adequate escaping, causing script execution in visitors' browsers.
Exploitation requires user interaction, typically a victim viewing the page containing the injected payload. Because the scope changes during exploitation, injected scripts can act in the security context of other users, including administrators. This enables session theft, forced administrative actions, credential harvesting, and defacement.
Root Cause
The root cause is missing or insufficient output encoding and input validation in one or more input fields handled by the trx_addons plugin. User-controlled data flows into HTML output without passing through WordPress sanitization helpers such as wp_kses, esc_html, or esc_attr.
Attack Vector
The attack is delivered over the network against the WordPress application. An attacker with a low-privileged authenticated account submits input containing a script payload. When another user loads the affected page, the browser parses and executes the stored script in the site's origin.
No verified public exploit code is available for this vulnerability. For technical details, refer to the Patchstack XSS Vulnerability Report.
Detection Methods for CVE-2026-102798
Indicators of Compromise
- Unexpected <script>, <iframe>, or event-handler attributes (onerror, onload) stored in wp_posts, wp_postmeta, or plugin-specific option tables
- Outbound requests from site visitors to unfamiliar domains sourced from pages rendered by trx_addons
- New or modified administrator accounts created shortly after visits to pages containing ThemeREX Addons shortcodes
- Browser console errors or Content Security Policy (CSP) violation reports referencing inline scripts on ThemeREX-rendered pages
Detection Strategies
- Scan WordPress database tables for HTML or JavaScript payloads inside fields processed by trx_addons
- Review access logs for POST requests to plugin endpoints followed by anomalous GET traffic to the same resources
- Deploy a web application firewall (WAF) rule set that flags common XSS payload patterns in requests targeting the plugin
Monitoring Recommendations
- Enable WordPress audit logging to track content changes made by low-privileged roles
- Monitor administrator session activity for actions originating from unexpected IP addresses or user agents
- Alert on CSP violation reports and unusual outbound DNS queries from authenticated administrative sessions
How to Mitigate CVE-2026-102798
Immediate Actions Required
- Update the ThemeREX Addons plugin to a version later than 2.46.0 once the vendor publishes a fixed release
- Audit all user accounts and revoke unneeded contributor, author, or editor privileges that could be used to inject payloads
- Review existing plugin-managed content for stored script payloads and remove any malicious entries
- Rotate credentials and invalidate active sessions for administrators who may have viewed compromised pages
Patch Information
At the time of publication, the advisory lists affected versions through 2.46.0. Monitor the Patchstack advisory and the ThemeREX vendor channel for a patched version and apply it promptly across all WordPress environments running the plugin.
Workarounds
- Deactivate the ThemeREX Addons plugin until a patched version is available if the affected functionality is not business-critical
- Deploy a WAF with XSS signature coverage in front of the WordPress site to block common injection payloads
- Apply a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
- Restrict access to WordPress editor and contributor roles to trusted users and require multi-factor authentication
# Configuration example
# Example strict CSP header to mitigate stored XSS execution
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

