XSS in Comesio Relevanssi – A Better Search
CVE-2026-97641
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
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
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/47751ff1-2f22-4335-8e75-7ff1b…
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/excerpts-highligh…
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/excerpts-highligh…
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/excerpts-highligh…
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/admin-ajax.php
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.3/lib/indexing.php
- github.com/msaari/relevanssi/commit/3dddec3416fbda298e18649127f31557398d10b0
Frequently asked questions
- What is CVE-2026-97641?
- CVE-2026-97641 is a high-severity vulnerability in Comesio Relevanssi – A Better Search, classified under Cross-site Scripting. CVSS score: 7.2/10. Published 2026-10-02.
- How severe is CVE-2026-97641?
- High severity. CVSS v3 base score is 7.2 out of 10.