PatchSiren cyber security CVE debrief
CVE-2026-19985 comesio CVE debrief
The Relevanssi – A Better Search plugin for WordPress is vulnerable to Reflected Cross-Site Scripting in versions up to, and including, 4.28.1. This vulnerability allows unauthenticated attackers to inject arbitrary web scripts into pages that execute if they can trick a user into performing an action such as clicking on a specially crafted link. The vulnerability is due to insufficient input sanitization and output escaping in the relevanssi_debug_array() function in lib/debug.php, which can be exploited when the 'Debugging mode' setting is enabled and the relevanssi_debug=on request parameter is supplied.
- Vendor
- comesio
- Product
- Relevanssi – A Better Search
- CVSS
- MEDIUM 6.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-11
- Original CVE updated
- 2026-09-11
- Advisory published
- 2026-09-11
- Advisory updated
- 2026-09-11
Who should care
WordPress administrators and defenders responsible for maintaining the security of WordPress installations using the Relevanssi – A Better Search plugin, especially those with debugging mode enabled, should assess exposure and prioritize verification and remediation.
Why it matters
CVE-2026-19985 is a Reflected Cross-Site Scripting vulnerability in the Relevanssi – A Better Search plugin for WordPress. Defenders should prioritize verifying the presence of this vulnerability in their WordPress installations, especially for sites with debugging mode enabled, and assess exposure.
- Unauthenticated attackers can inject arbitrary web scripts into pages
- Successful exploitation requires tricking a user into performing an action
- Debugging mode must be enabled for exploitation
- Verify input sanitization and output escaping in relevanssi_debug_array()
Technical summary
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.
Defensive priority
Defenders should prioritize verifying the presence of this vulnerability in their WordPress installations and assess exposure, especially for sites with debugging mode enabled.
Recommended defensive actions
- Verify the presence of this vulnerability in your WordPress installations
- Assess exposure, especially for sites with debugging mode enabled
- Consider disabling debugging mode if not required
- Update to a fixed version when available
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
Evidence notes
The vulnerability is due to insufficient input sanitization and output escaping in the relevanssi_debug_array() function. The debug path is enabled by supplying the relevanssi_debug=on request parameter when the administrator has previously enabled the 'Debugging mode' setting.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-19985 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-19985
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-19985 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-19985
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/debug.php
-
Source reference
Unverified legacy reference
URL: https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.27.2/lib/search.php
-
Source reference
Unverified legacy reference
URL: https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/debug.php
-
Source reference
Unverified legacy reference
URL: https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.1/lib/search.php
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.