HivePress <= 1.7.32 - Unauthenticated Stored Cross-Site Scripting via Custom User Attribute Value
What fixes it
No source in this snapshot names a fixed version.
Description
The HivePress – Business Directory, Listings & Classified Ads Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '<custom user attribute slug> (e.g. hp_custom_link)' parameter in all versions up to, and including, 1.7.32 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. Exploitation requires that an administrator has configured a custom user attribute with a display_format template placing the %value% token inside an href, src, or style attribute context, which is a documented and expected use of the plugin's attribute display feature.
Text from CVE List
Affected versions 1
- HivePress – Business Directory, Listings & Classified Ads Pluginaffected: all versions through 1.7.32CVE List
References 9
- wordfence.com/threat-intel/vulnerabilities/id/d2c3752b-0d2f-402d-bdbf-fb3fd76cf558?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/hivepress/tags/1.7.32/includes/fields/class-text.php#L197Referencevia CVE List
- plugins.trac.wordpress.org/browser/hivepress/tags/1.7.32/includes/fields/class-field.php#L572Referencevia CVE List
- plugins.trac.wordpress.org/browser/hivepress/tags/1.7.32/includes/components/class-attribute.php#L1199Referencevia CVE List
- plugins.trac.wordpress.org/browser/hivepress/tags/1.7.32/includes/fields/class-text.php#L214Referencevia CVE List
- plugins.trac.wordpress.org/browser/hivepress/tags/1.7.32/includes/controllers/class-user.php#L292Referencevia CVE List
- plugins.trac.wordpress.org/browser/hivepress/tags/1.7.32/includes/components/class-attribute.php#L1293Referencevia CVE List
- github.com/hivepress/hivepress/pull/375/changes/60df383473ff4b7a85f24b06895ec236edf20c9dReferencevia CVE List
- plugins.trac.wordpress.org/changeset/3747070/hivepress/trunk/includes/fields/class-field.phpReferencevia CVE List