CVE-2026-107657: HivePress <= 1.7.31 - Unauthenticated Stored Cross-Site Scripting via Custom User Attribute Value via Registration Form
The HivePress – Business Directory, Listings & Classified Ads Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '<custom user attribute field name, e.g. profiletest>' parameter in all versions up to, and including, 1.7.31 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires an administrator to have configured a text-type custom user attribute whose display format places %value% inside an HTML attribute context (e.g., the documented pattern <a href="%value%">Custom link</a>), and for front-end user profiles to be enabled — both of which reflect the plugin's standard, documented configuration.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to exploitation?
Deployments are exposed when they run HivePress 1.7.31 or earlier, have front-end user profiles enabled, and define a text-type custom user attribute whose display format inserts %value% into an HTML attribute. The example documented format is <a href="%value%">Custom link</a>.
Does an attacker need an account or user interaction to inject the payload?
No. The vulnerability can be exploited by an unauthenticated attacker through the registration form, with no user interaction required for injection.
When does the injected script execute?
The payload is stored and executes when a user accesses a page containing the injected value. Its impact includes potential disclosure or modification of data in the affected user's browser context.
What configuration change can reduce exposure if patching is delayed?
Disable front-end user profiles or remove/avoid text-type custom user attributes whose display formats place %value% inside an HTML attribute context. These conditions are required for the described exploitation path.