Skip to main content
Vulnerability Database/CVE-2025-58612

CVE-2025-58612: PropertyHive Stored XSS Vulnerability

CVE-2025-58612 is a stored cross-site scripting vulnerability in the PropertyHive WordPress plugin that enables attackers to inject malicious scripts. This article covers the technical details, affected versions through 2.1.5, security impact, and recommended mitigation strategies.

Published:

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-2025-58612 Overview

CVE-2025-58612 is a stored cross-site scripting (XSS) vulnerability in the PropertyHive WordPress plugin. The flaw affects all versions up to and including 2.1.5. It stems from improper neutralization of user-supplied input during web page generation, classified under [CWE-79].

An authenticated attacker with low privileges can inject malicious script content that persists in the application. When another user, including administrators, loads the affected page, the stored payload executes in their browser context. The scope change in the CVSS vector indicates the injected script can affect resources beyond the vulnerable component.

Critical Impact

Stored XSS in PropertyHive allows authenticated attackers to execute arbitrary JavaScript in victim browsers, enabling session theft, administrative action hijacking, and site defacement.

Affected Products

  • Property Hive PropertyHive plugin for WordPress
  • All versions from n/a through 2.1.5
  • WordPress sites running real estate functionality via PropertyHive

Discovery Timeline

  • 2025-09-03 - CVE-2025-58612 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-58612

Vulnerability Analysis

The vulnerability resides in input handling within the PropertyHive plugin. User-controlled data is written to pages rendered to other users without proper output encoding or sanitization. This permits an attacker to persist JavaScript payloads inside stored property data, settings, or related fields.

Stored XSS differs from reflected XSS because the payload remains server-side. Any visitor to the affected page triggers execution without further interaction from the attacker. The CVSS scope change (S:C) reflects that the injected script runs under the trust context of the WordPress site, impacting resources outside the plugin itself.

Exploitation requires an authenticated session and user interaction such as visiting the affected page. In practice, attackers can target administrators who routinely review property listings or plugin settings.

Root Cause

The root cause is missing or insufficient sanitization of input before rendering it inside HTML output. The plugin fails to apply WordPress escaping functions such as esc_html(), esc_attr(), or wp_kses() to one or more input fields. As a result, raw HTML and JavaScript survive the storage-and-rendering cycle.

Attack Vector

The attack vector is network-based and requires low-privilege authentication. An attacker submits a payload through a PropertyHive form or administrative input field that lacks sanitization. The payload is stored in the WordPress database and later rendered to any user viewing the affected page, executing in that user's browser context.

Further technical details are available in the Patchstack XSS Vulnerability Report.

Detection Methods for CVE-2025-58612

Indicators of Compromise

  • Unexpected <script>, <iframe>, or event-handler attributes (e.g., onerror, onload) stored in PropertyHive-related database tables or post meta
  • Outbound requests from administrator browsers to unknown third-party domains after visiting PropertyHive pages
  • New or modified WordPress administrator accounts created shortly after plugin page visits
  • Unexplained content modifications or redirects on property listing pages

Detection Strategies

  • Audit WordPress post meta and plugin option tables for HTML or JavaScript tokens inside PropertyHive fields
  • Deploy web application firewall (WAF) rules that flag script-like payloads submitted to PropertyHive endpoints
  • Review HTTP access logs for POST requests to PropertyHive form handlers containing encoded script markers

Monitoring Recommendations

  • Monitor administrator session activity for anomalous actions following access to property listing pages
  • Alert on creation of new privileged WordPress users and changes to the siteurl or home options
  • Track browser-side errors and Content Security Policy (CSP) violations reported from WordPress admin pages

How to Mitigate CVE-2025-58612

Immediate Actions Required

  • Update PropertyHive to a version later than 2.1.5 once the vendor publishes a fix
  • Audit all existing PropertyHive content for stored script payloads and sanitize or remove malicious entries
  • Rotate credentials and session tokens for administrators who accessed PropertyHive pages while the plugin was vulnerable
  • Restrict PropertyHive contributor and editor roles to trusted users only

Patch Information

The advisory published through Patchstack identifies PropertyHive versions through 2.1.5 as affected. Site operators should consult the Patchstack advisory and the plugin's WordPress.org page for the current fixed release.

Workarounds

  • Temporarily deactivate the PropertyHive plugin if a patched version is not yet installed
  • Enforce a strict Content Security Policy that blocks inline scripts on WordPress admin and public pages
  • Deploy a WAF with XSS signature rules in front of the WordPress site to filter script payloads in requests
  • Limit account creation and role assignments so only vetted users can submit PropertyHive content
bash
# Example restrictive Content Security Policy header for WordPress (nginx)
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'";

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.