CVE-2026-97641 Relevanssi <= 4.28.3 - Unauthenticated Stored Cross-Site Scripting via Comment Content

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary scripts via comments in Relevanssi plugin, requiring specific admin configuration.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-97641?

CVE-2026-97641 is a high-severity cross-site scripting vulnerability in comesio Relevanssi – A Better Search, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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 &lt;p&gt;&lt;a&gt;&lt;strong&gt;, as the prefix-matching regex must have an allowable tag whose name is a prefix of the injected tag name.

Weakness: CWE-79

Which versions are affected by CVE-2026-97641?

How do I fix CVE-2026-97641?

No fix has been published for CVE-2026-97641 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-97641 being exploited?

There is no known exploitation of CVE-2026-97641 in the wild and no public exploit code.

Sources

Also known as GHSA-c8hg-xchr-rq65.

Is CVE-2026-97641 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free