Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/msaari/relevanssi/commit/3dddec3416fbda298e18649127f31557398d
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/admin-ajax
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/excerpts-h
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/excerpts-h
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/excerpts-h
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/indexing.p
- https://www.wordfence.com/threat-intel/vulnerabilities/id/47751ff1-2f22-4335-8e7
FAQ
What is CVE-2026-97641?
CVE-2026-97641 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 Comment Content in all versions up to, and including, 4.28.3 due to insufficient input sanitizati...
How severe is CVE-2026-97641?
CVE-2026-97641 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-97641?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.