← News

Relevanssi - a better search: stored cross-site scripting

HighAI-generated2026-11-06

CVE
CVE-2026-116522
Severity
High (CVSS 7.2)
Attack conditions
Remotely, over the network · No account needed · No user action needed
Exploitation probability (EPSS)
0.2% (within 30 days; FIRST EPSS, 9 November 2026)

Summary

The Relevanssi - A Better Search WordPress plugin is vulnerable to stored cross-site scripting in all versions up to 4.28.5. Unauthenticated attackers can inject malicious scripts that run when a user views a highlighted search result page.

Details

According to the NVD record, the Relevanssi - A Better Search plugin for WordPress suffers from a stored cross-site scripting flaw. The issue exists in every version up to and including 4.28.5 and is caused by insufficient sanitization of the 'comment' parameter when comment indexing and highlighting are enabled.

An attacker without authentication can place arbitrary web scripts in the comment field. The malicious code is stored and later executed whenever a visitor opens a single search-result page that includes a highlight query parameter, potentially compromising the visitor's browser.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 31 October 2026 NVD record published
  • 6 November 2026 This article was written