The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.28.5 due to insufficient input s…
- CVSS
- 7.2High
- Chance of exploitation (EPSS)
- 0.43%
- Published
- Oct 31, 2026
- In the news
- Not yet
What to do
A serious cross-site scripting flaw in Comesio Relevanssi A Better Search that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Comesio Relevanssi A Better Search
- Through 4.28.5
Description
The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.28.5 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. This requires the site to have both the comment indexing and comment highlighting options enabled, and the payload only fires when a visitor reaches a singular page via a Relevanssi search-result permalink carrying the highlight query parameter.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-116522 published (CVSS 7.2) (Oct 31, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Sat, Oct 31, 2026
- CVECVE-2026-116522 published (CVSS 7.2)CVE Program · 07:16 UTC
References 8
- github.com /msaari/relevanssi/commit/b0324957b27e2dfc2aa116c96dcf578fbec9e0e5
- plugins.trac.wordpress.org /browser/relevanssi/tags/4.28.5/lib/common.php#L1037
- plugins.trac.wordpress.org /browser/relevanssi/tags/4.28.5/lib/excerpts-highlights.php#L1698
- plugins.trac.wordpress.org /browser/relevanssi/tags/4.28.5/lib/excerpts-highlights.php#L521
- plugins.trac.wordpress.org /browser/relevanssi/tags/4.28.5/lib/excerpts-highlights.php#L688
- plugins.trac.wordpress.org /browser/relevanssi/tags/4.28.5/lib/init.php#L140
- plugins.trac.wordpress.org /changeset?reponame=&new=3767703%40relevanssi%2Ftags%2F4.28.6&old=3761637%40relevanssi%2Ftags%2F4.2…
- www.wordfence.com /threat-intel/vulnerabilities/id/442403ae-9011-4373-a363-e98e07ec7e9b?source=cve