CVE-2026-19985
published medium CVSS 3.1 · 6.1Relevanssi <= 4.28.1 - Reflected Cross-Site Scripting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| comesio | — | Relevanssi – A Better Search0 through 4.28.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| comesio | Relevanssi – A Better Search | 0 through 4.28.1 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
12- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/debug.php#L27
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/debug.php#L68
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/search.php#L132
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/search.php#L143
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/search.php#L562
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/debug.php#L27
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/debug.php#L68
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/search.php#L132
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/search.php#L143
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/search.php#L562
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3650355%40relevanssi%2Ftrunk&old=3529670%40relevanssi%2Ftrunk&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d07fe28c-f76e-42b2-b894-be316004235a?source=cve
Provider assertions
2Wordfence · cna
Relevanssi <= 4.28.1 - Reflected Cross-Site Scripting
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f545b3a0d7d8227290e75882f4b322569ef3d8c000329d42a05860f40da52789
- Ingested
- 23 Sep 2026, 09:03:51 UTC
- Source record
- Official CVE record