CVE-2026-19985
Relevanssi <= 4.28.1 - Reflected Cross-Site Scripting
- Published
- Updated
- Reserved
- Assigned by
- Wordfence
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| WordfenceCNA (assigner) | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVDNVD · Deferred | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.46% · top 60% of all CVEs (5 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
Affected products
comesio · Relevanssi – A Better Search
- affected ≤ 4.28.1
References (12)
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d07fe28c-f76e-42b2-b894-be316004235a?source=cve (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/search.php#L132 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/search.php#L143 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/debug.php#L68 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/search.php#L132 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/search.php#L143 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/debug.php#L27 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/search.php#L562 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/debug.php#L68 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/debug.php#L27 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/search.php#L562 (opens in a new tab)
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3650355%40relevanssi%2Ftrunk&old=3529670%40relevanssi%2Ftrunk&sfp_email=&sfph_mail= (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-19985)Record last updated .