HivePress <= 1.7.31 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Listing Attribute Value in Administrator-configured HTML Format
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
The HivePress – Business Directory, Listings & Classified Ads Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'custom text attribute (user-defined field name)' parameter in all versions up to, and including, 1.7.31 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is only exploitable when an administrator has configured a Text attribute whose display format places the %value% token inside an HTML attribute (e.g., title="%value%"), which is a documented HivePress pattern.
Text from CVE List
Affected versions 1
- HivePress – Business Directory, Listings & Classified Ads Pluginaffected: all versions through 1.7.31CVE List
References 7
- github.com/hivepress/hivepress/releases/tag/1.7.32Fixvia CVE List
- wordfence.com/threat-intel/vulnerabilities/id/723322ab-2ad0-42e2-b518-0987d9203c49?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/hivepress/tags/1.7.31/includes/fields/class-field.php#L561Referencevia CVE List
- plugins.trac.wordpress.org/browser/hivepress/tags/1.7.31/includes/helpers.php#L382Referencevia CVE List
- plugins.trac.wordpress.org/browser/hivepress/tags/1.7.31/includes/blocks/class-attributes.php#L219Referencevia CVE List
- plugins.trac.wordpress.org/browser/hivepress/tags/1.7.31/includes/fields/class-text.php#L197Referencevia CVE List
- plugins.trac.wordpress.org/browser/hivepress/tags/1.7.31/includes/controllers/class-listing.php#L346Referencevia CVE List