The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content in all versions up to, and including, 4.28.3 due to insufficient input sanitizat…
- CVSS
- 7.2High
- Chance of exploitation (EPSS)
- 0.24%
- Published
- Oct 2, 2026
- In the news
- Not yet
What to do
A serious cross-site scripting flaw 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.3
Description
The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content in all versions up to, and including, 4.28.3 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 is only exploitable when the administrator has configured a non-empty value for the "Allowable tags in excerpts" setting, such as the default example value of <p><a><strong>, as the prefix-matching regex must have an allowable tag whose name is a prefix of the injected tag name.
Affected products
Get alerts for these →No product list yet. It usually appears within a few days of publication.
Timeline 1
Latest change: CVE-2026-97641 published (CVSS 7.2) (Oct 2, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Oct 2, 2026
- CVECVE-2026-97641 published (CVSS 7.2)CVE Program · 08:17 UTC
References 7
- github.com /msaari/relevanssi/commit/3dddec3416fbda298e18649127f31557398d10b0
- plugins.trac.wordpress.org /browser/relevanssi/tags/4.28.3/lib/admin-ajax.php#L492
- plugins.trac.wordpress.org /browser/relevanssi/tags/4.28.3/lib/excerpts-highlights.php#L216
- plugins.trac.wordpress.org /browser/relevanssi/tags/4.28.3/lib/excerpts-highlights.php#L421
- plugins.trac.wordpress.org /browser/relevanssi/tags/4.28.3/lib/excerpts-highlights.php#L883
- plugins.trac.wordpress.org /browser/relevanssi/tags/4.28.3/lib/indexing.php#L1067
- www.wordfence.com /threat-intel/vulnerabilities/id/47751ff1-2f22-4335-8e75-7ff1b6214426?source=cve