Relevanssi <= 4.28.1 - Reflected Cross-Site Scripting

6.1
Improper Neutralization of Input During Web Page Generation
CVE CVE-2026-19985
CVSS 6.1 (Medium)
Publicly Published September 10, 2026
Last Updated September 11, 2026
Researcher Mutantgun

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Relevanssi – A Better Search

Software Type Plugin
Software Slug relevanssi (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.28.2, or a newer patched version
Affected Version
  • <= 4.28.1
Patched Version
  • 4.28.2

Recent vulnerabilities in Relevanssi – A Better Search

# Title CVE ID CVSS Researchers Date
1 Relevanssi <= 4.28.5 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Late Entity Decode CVE-2026-116522 7.2 daroo October 30, 2026
2 Relevanssi – A Better Search <= 4.28.4 - Authenticated (Editor+) PHP Object Injection CVE-2026-114704 6.6 Ananda Dhakal October 22, 2026
3 Relevanssi <= 4.28.3 - Unauthenticated Stored Cross-Site Scripting via Comment Content CVE-2026-97641 7.2 Yuto Hyakumoto October 1, 2026
4 Relevanssi <= 4.27.1 and Relevanssi Premium <= 2.30.2 - Authenticated (Contributor+) SQL Injection CVE-2026-15941 6.5 daroo August 4, 2026
5 Relevanssi < 4.26.0 (Free) < 2.29.0 (Premium) - Authenticated (Contributor+) SQL Injection CVE-2025-14719 6.5 Drew Webber (mcdruid) December 17, 2025
6 Relevanssi <= 4.24.5 (Free) and <= 2.27.6 (Premium) - Unauthenticated Stored Cross-Site Scripting via Excerpt Highlights CVE-2025-5016 4.7 Jack Taylor May 30, 2025
7 Relevanssi <= 4.24.4 (Free) and <= 2.27.5 (Premium) - Unauthenticated SQL Injection CVE-2025-4396 7.5 Jack Taylor May 12, 2025
8 Relevanssi <= 4.24.3 (Free) and <= 2.27.4 (Premium) - Unauthenticated Stored Cross-Site Scripting via Search Highlights CVE-2025-4054 6.1 Jack Taylor May 6, 2025
9 Relevanssi – A Better Search <= 4.23.0 (Free) and <= 2.26.0 (Premium) - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-9021 6.4 Krugov Artyom September 17, 2024
10 Relevanssi <= 4.22.2 (Free) and <= 2.25.1 (Premium) - Unauthenticated Information Exposure CVE-2024-7630 5.3 stealthcopter August 15, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation