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-107865 Overview
CVE-2026-107865 is a stored cross-site scripting (XSS) vulnerability in the Crocoblock JetMenu WordPress plugin. The flaw affects all versions of JetMenu up to and including 3.0.5. An authenticated attacker with low-level privileges can inject malicious script content that persists in the plugin's data and executes in the browsers of other users who view the affected pages. The weakness is classified as [CWE-79], Improper Neutralization of Input During Web Page Generation.
Critical Impact
Authenticated contributors can inject stored JavaScript that executes against administrators and site visitors, enabling session theft, redirection, and administrative action abuse through a scope-changing XSS payload.
Affected Products
- Crocoblock JetMenu plugin for WordPress
- All versions from initial release through 3.0.5
- WordPress sites running JetMenu with contributor-level or higher accounts enabled
Discovery Timeline
- 2026-10-12 - CVE-2026-107865 published to the National Vulnerability Database
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-107865
Vulnerability Analysis
JetMenu provides mega-menu building functionality for WordPress and Elementor. The plugin accepts user-supplied input through menu configuration fields and renders that input back into the rendered page without sufficient sanitization or output encoding. An authenticated user with privileges to edit menu items or related content can supply JavaScript payloads that are stored in the WordPress database and later served to every visitor who loads a page containing the affected menu.
Because the scope component changes during exploitation, the injected script executes in a security context different from the vulnerable component. This allows the attacker to reach administrator sessions and perform actions on their behalf, including creating new privileged users or exfiltrating session cookies.
Root Cause
The root cause is missing or incomplete input neutralization in the JetMenu input-handling routines that process menu item configuration. User-controlled values are stored and later emitted into HTML contexts without context-appropriate escaping, satisfying the conditions for persistent XSS described in [CWE-79].
Attack Vector
Exploitation requires network access to the WordPress site and an authenticated account with low privileges. User interaction is required: a victim must load a page or administrative view that renders the attacker-controlled menu content. Once rendered, the stored payload executes with the victim's privileges in the browser, allowing arbitrary JavaScript execution within the WordPress origin.
No verified public exploit code is available for this issue. Refer to the Patchstack JetMenu XSS Vulnerability advisory for additional technical context.
Detection Methods for CVE-2026-107865
Indicators of Compromise
- Unexpected <script>, onerror, onload, or javascript: fragments stored in JetMenu menu item titles, labels, or custom attributes within the WordPress database
- New administrator accounts or modified user roles created shortly after menu edits by non-administrator users
- Outbound requests from administrator browser sessions to unfamiliar domains after loading pages containing JetMenu widgets
Detection Strategies
- Query the wp_postmeta and JetMenu option tables for menu records containing HTML event handlers or <script substrings
- Review WordPress audit logs for menu edits performed by contributor, author, or editor accounts that preceded suspicious activity
- Inspect rendered HTML of pages containing JetMenu widgets for unexpected inline scripts not present in the theme or plugin source
Monitoring Recommendations
- Enable a WordPress activity log plugin to capture every menu and plugin configuration change with the acting user identity
- Monitor web server access logs for POST requests to JetMenu administrative endpoints originating from low-privilege accounts
- Alert on Content Security Policy (CSP) violations reported from pages that render JetMenu output
How to Mitigate CVE-2026-107865
Immediate Actions Required
- Update the Crocoblock JetMenu plugin to a version later than 3.0.5 as soon as the vendor publishes a fixed release
- Audit all JetMenu menu items and remove any entries containing HTML event handlers, <script> tags, or javascript: URIs
- Restrict menu editing capabilities to trusted administrator accounts until the plugin is patched
Patch Information
At the time of publication, the Patchstack advisory lists all versions of JetMenu through 3.0.5 as affected. Consult the Patchstack JetMenu XSS Vulnerability advisory and the Crocoblock vendor site for the fixed version number once released.
Workarounds
- Deploy a Web Application Firewall (WAF) rule to block requests containing script tags or JavaScript event handlers in JetMenu parameters
- Apply a strict Content Security Policy that disallows inline script execution on WordPress administrative and public pages
- Temporarily revoke menu management capabilities from non-administrator roles using a capability management plugin
# Example WordPress role hardening via WP-CLI
wp role list
wp cap remove contributor edit_theme_options
wp cap remove author edit_theme_options
wp cap remove editor edit_theme_options
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

