Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/msaari/relevanssi/commit/b0324957b27e2dfc2aa116c96dcf578fbec9
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/common.php
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/excerpts-h
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/excerpts-h
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/excerpts-h
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/init.php#L
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3767703%40relevanssi%
- https://www.wordfence.com/threat-intel/vulnerabilities/id/442403ae-9011-4373-a36
FAQ
What is CVE-2026-116522?
CVE-2026-116522 is a vulnerability with a CVSS score of 7.2 (HIGH). 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 sa...
How severe is CVE-2026-116522?
CVE-2026-116522 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-116522?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.