CVE-2025-32175
Executive Summary
CVE-2025-32175 is a Stored Cross-Site Scripting (XSS) vulnerability in the VK Filter Search WordPress plugin, developed by Vektor,Inc. The vulnerability exists in versions up to and including 2.20.2, where user-supplied input is not properly neutralized during web page generation. This allows an authenticated attacker with contributor-level privileges or higher to inject malicious scripts that are stored on the server and executed in the browsers of other users, including administrators. The CVSS score of 6.5 (Medium) reflects the need for user interaction and low privileges, but the impact on confidentiality, integrity, and availability is limited. As of this report, no official patch has been released, and no public proof-of-concept or exploit code is available.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Supply Chain & Package Security
This vulnerability affects the WordPress plugin ecosystem. The VK Filter Search plugin is distributed via the official WordPress Plugin Directory. Users are advised to monitor the plugin’s page for updates and apply patches immediately when available. Since this is a WordPress plugin, the risk extends to any site using the vulnerable version, and supply chain attacks could occur if the plugin repository is compromised.
CVSS Breakdown & Threat Level
- Attack Vector (AV): Network (N) – The vulnerability is exploitable remotely over the network.
- Attack Complexity (AC): Low (L) – No special conditions are required for exploitation.
- Privileges Required (PR): Low (L) – An attacker needs contributor-level access to the WordPress site.
- User Interaction (UI): Required (R) – The victim must visit a page containing the malicious payload.
- Scope (S): Changed (C) – The vulnerability can impact resources beyond the vulnerable component.
- Confidentiality (C): Low (L) – Limited data exposure possible.
- Integrity (I): Low (L) – Limited ability to modify data.
- Availability (A): Low (L) – Limited impact on service availability.
Threat Level: Medium. While the CVSS score is 6.5, the requirement for authenticated access and user interaction reduces the immediate risk. However, in a WordPress environment with multiple contributors, the potential for privilege escalation and session hijacking is significant.
Deep Dive & Mechanics
The VK Filter Search plugin provides advanced search filtering capabilities for WordPress sites. The vulnerability lies in the improper neutralization of user input when generating web pages. Specifically, the plugin fails to sanitize or escape user-supplied data before storing it in the database and later rendering it in the browser. This allows an attacker with contributor-level access to inject arbitrary HTML and JavaScript code.
Attack Flow:
- An attacker with contributor privileges logs into the WordPress admin panel.
- The attacker creates or edits a post/page and inserts a malicious payload into a field processed by the VK Filter Search plugin (e.g., filter labels, search terms, or custom messages).
- The payload is stored in the WordPress database without proper sanitization.
- When an administrator or other user views the affected page, the malicious script executes in their browser.
- The attacker can then steal session cookies, perform actions on behalf of the victim, or deface the site.
Root Cause: The plugin uses functions like echo or the_content without applying WordPress’s built-in escaping functions (e.g., esc_html(), wp_kses_post()). This allows raw HTML/JavaScript to be rendered.
Vulnerable vs. Patched Code
Since no official patch is available, the following is a hypothetical comparison based on common XSS remediation.
Vulnerable Code (v2.20.2):
// In a template file or shortcode handler
echo '<div class="vk-filter-search-label">' . $user_input . '</div>';
Patched Code (Hypothetical):
// Properly escape output
echo '<div class="vk-filter-search-label">' . esc_html( $user_input ) . '</div>';
The patched version uses esc_html() to convert special characters to HTML entities, preventing script execution.
Exploitation & Lab Setup
Red Team (Attacker)
Prerequisites:
- WordPress site with VK Filter Search plugin <= 2.20.2
- Contributor-level account or higher
Steps:
- Log in to WordPress admin.
- Navigate to a page or post editor.
- Insert the following payload into a field processed by the plugin (e.g., filter label):
<script>alert('XSS');</script> - Save the post/page.
- When an administrator visits the page, the script executes.
Advanced Payload:
<script>
fetch('/wp-admin/admin-ajax.php?action=some_action&data='+document.cookie);
</script>
Blue Team (Defender)
Detection:
- Monitor for unusual content in post/page fields, especially script tags.
- Use Web Application Firewall (WAF) rules to block common XSS patterns.
- Review WordPress user activity logs for suspicious edits.
Prevention:
- Restrict contributor-level access to trusted users only.
- Implement Content Security Policy (CSP) headers to mitigate XSS impact.
- Apply input validation and output escaping in custom code.
Indicators of Compromise (IOCs)
- File Hashes: (None available; plugin files may be modified)
- Network Traffic: HTTP requests containing
<script>tags in POST data to/wp-admin/post.phpor/wp-admin/admin-ajax.php - Log Entries: WordPress audit logs showing creation/editing of posts with unusual HTML content
- Browser Behavior: Unexpected pop-ups, redirects, or cookie theft
Detection Engineering
YARA Rule
rule CVE_2025_32175_Stored_XSS {
meta:
description = "Detects stored XSS payloads in VK Filter Search plugin"
author = "Valters IT"
date = "2025-04-10"
reference = "CVE-2025-32175"
strings:
$xss_payload = /<script[^>]*>.*?<\/script>/is
$plugin_path = /wp-content\/plugins\/vk-filter-search/
condition:
$plugin_path and $xss_payload
}
Sigma Rule
title: Stored XSS in VK Filter Search Plugin
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects stored XSS attempts via VK Filter Search plugin
author: Valters IT
logsource:
category: webserver
product: apache
detection:
selection:
cs-method: 'POST'
cs-uri-stem: '/wp-admin/post.php'
cs-uri-query: '*action=edit*'
cs-body: '*<script>*'
condition: selection
falsepositives:
- Legitimate use of JavaScript in posts (rare)
level: high
Suricata Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-32175 Stored XSS Attempt"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/post.php"; http_uri; content:"<script>"; http_client_body; sid:1000001; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Disable the plugin if it is not critical to operations.
- Restrict contributor-level accounts to only trusted users.
- Implement a Web Application Firewall (WAF) with rules to block XSS payloads.
Long-Term Fix:
- Monitor the plugin’s official page for a patched version (>= 2.20.3).
- Apply the patch as soon as it is released.
- Consider replacing the plugin with an alternative that is actively maintained.
Code-Level Fix (if you have access):
- Add output escaping to all user-supplied data rendered by the plugin.
- Use WordPress functions like
esc_html(),esc_attr(), orwp_kses_post().
Valters IT
Securing Digital Frontiers
What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.