High severity7.2NVD Advisory· Published Oct 2, 2026· Updated Oct 3, 2026
CVE-2026-97641
CVE-2026-97641
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2- Range: <=4.28.3
Patches
Vulnerability mechanics
References
7- github.com/msaari/relevanssi/commit/3dddec3416fbda298e18649127f31557398d10b0nvd
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/admin-ajax.phpnvd
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/excerpts-highlights.phpnvd
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/excerpts-highlights.phpnvd
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/excerpts-highlights.phpnvd
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/indexing.phpnvd
- www.wordfence.com/threat-intel/vulnerabilities/id/47751ff1-2f22-4335-8e75-7ff1b6214426nvd
News mentions
1- Wordfence Intelligence Weekly WordPress Vulnerability Report (September 28, 2026 to October 4, 2026)Wordfence Blog · Oct 9, 2026