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-109193 Overview
CVE-2026-109193 is a stored Cross-Site Scripting (XSS) vulnerability in the HivePress – Business Directory, Listings & Classified Ads plugin for WordPress. The flaw affects all versions up to and including 1.7.32. It stems from insufficient input sanitization and output escaping of custom user attribute values such as hp_custom_link. Unauthenticated attackers can inject arbitrary web scripts that execute when any user views an affected page. Exploitation is conditional: an administrator must have configured a custom user attribute whose display_format places the %value% token inside an href, src, or style attribute context, which is a documented plugin feature.
Critical Impact
Unauthenticated attackers can inject persistent JavaScript into user profile pages, enabling session theft, administrative account takeover, and arbitrary actions in the context of visiting administrators.
Affected Products
- HivePress – Business Directory, Listings & Classified Ads Plugin for WordPress
- All versions up to and including 1.7.32
- WordPress sites using custom user attributes with %value% tokens inside href, src, or style attribute contexts
Discovery Timeline
- 2026-10-16 - CVE-2026-109193 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-109193
Vulnerability Analysis
The vulnerability is a stored Cross-Site Scripting (XSS) issue [CWE-79] in the HivePress plugin's custom user attribute rendering pipeline. HivePress allows administrators to define custom user attributes with a display_format template containing a %value% placeholder. When this placeholder appears inside an HTML attribute such as href, src, or style, user-controlled input is interpolated without context-aware escaping.
The affected code paths include includes/components/class-attribute.php, includes/controllers/class-user.php, and the field rendering logic in includes/fields/class-field.php and includes/fields/class-text.php. These components sanitize text for HTML body context but fail to escape values destined for HTML attribute contexts. Attackers can register as users and submit payloads that break out of the attribute and execute JavaScript when administrators or other visitors view the profile.
Root Cause
The root cause is missing context-aware output escaping. The plugin applies general sanitization suitable for HTML text content but does not call attribute-specific escaping functions such as esc_attr() or esc_url() before rendering %value% into attribute positions. Combined with the plugin's advertised flexibility in display_format templates, this allows attribute injection via quote characters and script delivery through javascript: URIs or event handlers.
Attack Vector
An unauthenticated attacker registers as a HivePress user, submits a crafted payload into the custom attribute field (for example, hp_custom_link), and waits for an administrator or site visitor to view the user's profile. Because the %value% token is rendered inside an attribute without proper escaping, the payload executes in the browser of every viewer. The attack vector is network-based, requires no privileges, and no user interaction beyond normal page browsing.
Technical references include the Wordfence Vulnerability Report and the GitHub Pull Request Changes that address the issue.
Detection Methods for CVE-2026-109193
Indicators of Compromise
- Unexpected <script> tags, javascript: URIs, or on* event handler strings stored in user meta fields associated with HivePress custom attributes such as hp_custom_link.
- User registrations submitting unusual characters (", ', <, >) in custom attribute fields.
- Administrator sessions showing unexpected AJAX requests or privilege changes shortly after viewing user profile pages.
Detection Strategies
- Audit the WordPress database wp_usermeta table for HivePress attribute keys containing HTML special characters or script-related tokens.
- Review web server access logs for POST requests to user registration and profile update endpoints with suspicious payloads.
- Enable Content Security Policy (CSP) reporting to surface inline script executions that violate policy.
Monitoring Recommendations
- Monitor administrator account activity for anomalous behavior following visits to user directory or profile pages.
- Alert on creation or modification of administrator-level accounts outside expected change windows.
- Track plugin version inventory across all WordPress sites to confirm patch deployment.
How to Mitigate CVE-2026-109193
Immediate Actions Required
- Update the HivePress plugin to the version published in WordPress Changeset 3747070, which supersedes 1.7.32.
- Review all configured custom user attributes and identify any whose display_format places %value% inside href, src, or style attributes.
- Audit existing user profile data for stored XSS payloads and sanitize or remove affected entries.
Patch Information
The HivePress maintainers addressed the vulnerability in the changeset referenced in WordPress Changeset 3747070, which modifies includes/fields/class-field.php to apply context-aware escaping. Site administrators should upgrade to the first HivePress release that includes this changeset. Refer to the Wordfence Vulnerability Report for authoritative fixed-version guidance.
Workarounds
- Remove or reconfigure custom user attributes so that %value% tokens appear only in HTML text contexts, not inside href, src, or style attributes.
- Deploy a Web Application Firewall (WAF) rule that blocks requests containing script tags, javascript: URIs, or event-handler patterns in HivePress attribute parameters.
- Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins.
# Example WP-CLI command to verify installed HivePress version
wp plugin get hivepress --field=version
# Example WP-CLI command to update HivePress to the latest patched release
wp plugin update hivepress
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

