CVE-2026-19985Comesio Relevanssi – A Better Search cross-site scripting (XSS)
CVSS score
6.1
Medium
CVSS 3.1 from wordfence.com
Exploit probability (EPSS)
0.46%
0.46% chance of exploitation in the next 30 days, higher than 40.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
The Relevanssi – A Better Search plugin for WordPress is vulnerable to Reflected Cross-Site Scripting in versions up to, and including, 4.28.1 via the 's', 'post_types', and 'orderby' request parameters. This is due to insufficient input sanitization and output escaping in the relevanssi_debug_array() function in lib/debug.php, which dumps user-supplied query variables through print_r() inside a <pre> block without HTML escaping. The debug path is enabled by supplying the relevanssi_debug=on request parameter when the administrator has previously enabled the 'Debugging mode' setting; the gate itself is a configuration check with no capability, nonce, or logged-in check (the vendor explicitly suppresses nonce verification on that line). This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a specially crafted link.
Source: NVD · CNA: security@wordfence.com
How to fix it, step by step
Check whether you're affected
Find every system running comesio Relevanssi – A Better Search and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
| Affected products | Versions |
|---|---|
| comesio Relevanssi – A Better Search | ≤ 4.28.1 |
Weakness
- CWE-79 cross-site scripting (XSS)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-19985 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-19985?
CVE-2026-19985 has a CVSS 3.1 base score of 6.1 (medium).
Which versions are affected?
Comesio Relevanssi – A Better Search (≤ 4.28.1)
Is there a patch for CVE-2026-19985?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/debug.php#L27
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/debug.php#L68
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/search.php#L132
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/search.php#L143
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/search.php#L562
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/debug.php#L27
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/debug.php#L68
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/search.php#L132
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/search.php#L143
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/search.php#L562
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3650355%40relevanssi%2Ftrunk&old=3529670%40relevanssi%2Ftrunk&sfp_email=&sfph_mail=
- www.wordfence.com/threat-intel/vulnerabilities/id/d07fe28c-f76e-42b2-b894-be316004235a?source=cve
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.