XSS in Comesio Relevanssi – A Better Search
CVE-2026-116522
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (16.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 16th percentile — 16.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
The 30-day trend appears once there are two daily scores.
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/442403ae-9011-4373-a363-e98e0…
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/excerpts-highligh…
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/excerpts-highligh…
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/excerpts-highligh…
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/init.php
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/common.php
- github.com/msaari/relevanssi/commit/b0324957b27e2dfc2aa116c96dcf578fbec9e0e5
- plugins.trac.wordpress.org/changeset
Frequently asked questions
- What is CVE-2026-116522?
- CVE-2026-116522 is a high-severity vulnerability in Comesio Relevanssi – A Better Search, classified under Cross-site Scripting. CVSS score: 7.2/10. Published 2026-10-31.
- How severe is CVE-2026-116522?
- High severity. CVSS v3 base score is 7.2 out of 10.