Skip to content
Laskyr

Plugins · relevanssi · data as of 2026-11-04

Is Relevanssi safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (4.28.8)

As of 2026-11-04. 16 issues are on record for older versions; version 4.28.6 or newer fixes all of them that state a fix.

Latest version
4.28.8
Last updated
2026-10-30
Active installs
100,000+
Known issues on record
16
Unpatched in latest
0
Tested up to WP
7.1.4 · PHP 7.1+

Relevanssi replaces the default search with a partial-match search that sorts results by relevance. It also indexes comments and shortcode content. — by Christoph Vielgrader

What to do

  1. Update to the latest version (4.28.8). Anything older than 4.28.6 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.

With WP-CLI: wp plugin get relevanssi --field=version shows what you run; wp plugin update relevanssi updates it.

Check your version

Known vulnerabilities

16 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.

high 7.2 CVE-2026-116522 · published 2026-10-31

Stored cross-site scripting (XSS) in Relevanssi (4.28.5 and older)

Affected
4.28.5 and older
Fixed in
4.28.6 *
Access needed (per CVSS)
No login needed
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.28.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires the site to have both the comment indexing and comment highlighting options enabled, and the payload only fires when a visitor reaches a singular page via a Relevanssi search-result permalink carrying the highlight query parameter.

NVD CVE-2026-116522Wordfence advisoryCode change (fix)github.comPlugin source

high 7.2 CVE-2026-114704 · published 2026-10-24

PHP object injection in Relevanssi (4.28.4 and older)

Affected
4.28.4 and older
Fixed in
4.28.5
Access needed (per CVSS)
Needs an admin-level account
Range from
CVE record (the advisory publisher) · score by Patchstack
Details from the advisory

Deserialization of Untrusted Data vulnerability in Christoph Vielgrader Relevanssi relevanssi allows Object Injection.This issue affects Relevanssi : from n/a through 4.28.4.

NVD CVE-2026-114704Patchstack advisory

high 7.2 CVE-2026-97641 · published 2026-10-02

Stored cross-site scripting (XSS) in Relevanssi (4.28.3 and older)

Affected
4.28.3 and older
Fixed in
4.28.4 *
Access needed (per CVSS)
No login needed
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content in all versions up to, and including, 4.28.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is only exploitable when the administrator has configured a non-empty value for the "Allowable tags in excerpts" setting, such as the default example value of <p><a><strong>, as the prefix-matching regex must have an allowable tag whose name is a prefix of the injected tag name.

NVD CVE-2026-97641Wordfence advisorygithub.comPlugin source

medium 6.1 CVE-2026-19985 · published 2026-09-11

Reflected cross-site scripting (XSS) in Relevanssi (4.28.1 and older)

Affected
4.28.1 and older
Fixed in
4.28.2 *
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

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.

NVD CVE-2026-19985Wordfence advisoryCode change (fix)Plugin source

medium 6.5 CVE-2026-15941 · published 2026-08-05

SQL injection in Relevanssi (4.27.1 and older)

Affected
4.27.1 and older
Fixed in
4.27.2 *
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber)
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The plugin provides an Admin Search page that allows users with the `edit_posts` capability to run Relevanssi searches from the WordPress dashboard. The AJAX handler accepts a URL-encoded `args` parameter, parses it into a `WP_Query`, and then passes user-controlled taxonomy query data into Relevanssi's taxonomy restriction builder. The taxonomy value is sanitized as text but is not parameterized for SQL before being interpolated into a term taxonomy lookup query. This allows an authenticated contributor-level attacker to inject SQL through the Admin Search AJAX request and execute time-based blind SQL injection against the WordPress database.

NVD CVE-2026-15941Wordfence advisoryPlugin source

medium 4.9 CVE-2025-14719 · published 2026-01-07

SQL injection in Relevanssi (older than 4.26.0)

Affected
older than 4.26.0
Fixed in
4.26.0
Access needed (per CVSS)
Needs an admin-level account
Range from
CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory

The Relevanssi WordPress plugin before 4.26.0, Relevanssi Premium WordPress plugin before 2.29.0 do not sanitize and escape a parameter before using it in a SQL statement, allowing contributor and above roles to perform SQL injection attacks

NVD CVE-2025-14719WPScan advisory

medium 4.7 CVE-2025-5016 · published 2025-05-31

Stored cross-site scripting (XSS) in Relevanssi (4.24.5 and older)

Affected
4.24.5 and older
Fixed in
4.24.6 *
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Excerpt Highlights in all versions up to, and including, 4.24.5 (Free) and 2.27.6 (Premium) due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

NVD CVE-2025-5016Wordfence advisoryPlugin source

high 7.5 CVE-2025-4396 · published 2025-05-13

SQL injection in Relevanssi (4.24.4 and older)

Affected
4.24.4 and older
Fixed in
4.24.5 *
Access needed (per CVSS)
No login needed
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The Relevanssi – A Better Search plugin for WordPress is vulnerable to time-based SQL Injection via the cats and tags query parameters in all versions up to, and including, 4.24.4 (Free) and <= 2.27.5 (Premium) due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries to already existing queries that can be used to extract sensitive information from the database.

NVD CVE-2025-4396Wordfence advisoryPlugin source

medium 6.1 CVE-2025-4054 · published 2025-05-07

Stored cross-site scripting (XSS) in Relevanssi (4.24.3 and older)

Affected
4.24.3 and older
Fixed in
4.24.4 *
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the highlights functionality in all versions up to, and including, 4.24.3 (Free) and <= 2.27.4 (Premium), due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page via the search results.

NVD CVE-2025-4054Wordfence advisoryCode change (fix)relevanssi.comPlugin source

medium 5.4 CVE-2024-9021 · published 2024-10-08

Stored cross-site scripting (XSS) in Relevanssi (older than 4.23.1)

Affected
older than 4.23.1
Fixed in
4.23.1
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
Range from
CVE record (the advisory publisher) · score by CISA ADP
Details from the advisory

In the process of testing the Relevanssi WordPress plugin before 4.23.1, a vulnerability was found that allows you to implement Stored XSS on behalf of the Contributor+ by embedding malicious script, which entails account takeover backdoor

NVD CVE-2024-9021WPScan advisory

high 7.5 CVE-2024-7630 · published 2024-08-16

Information disclosure in Relevanssi (4.22.2 and older)

Affected
4.22.2 and older
Fixed in
4.23.0 *
Access needed (per CVSS)
No login needed
Range from
CVE record (the advisory publisher) · score by NVD
Details from the advisory

The Relevanssi – A Better Search plugin for WordPress is vulnerable to Information Exposure in all versions up to, and including, 4.22.2 (Free) and 2.25.1 (Premium) via the relevanssi_do_query() due to insufficient limitations on the posts that are returned when searching. This makes it possible for unauthenticated attackers to extract potentially sensitive information from password protected posts.

NVD CVE-2024-7630Wordfence advisoryCode change (fix)

high 8.2 CVE-2024-3213 · published 2024-04-09

Missing authorization check in Relevanssi (4.22.1 and older)

Affected
4.22.1 and older
Fixed in
4.22.2 *
Access needed (per CVSS)
No login needed
Range from
CVE record (the advisory publisher) · score by NVD
Details from the advisory

The Relevanssi – A Better Search plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the relevanssi_update_counts() function in all versions up to, and including, 4.22.1. This makes it possible for unauthenticated attackers to execute expensive queries on the application that could lead into DOS.

NVD CVE-2024-3213Wordfence advisoryCode change (fix)Plugin source

critical 9.8 CVE-2024-3214 · published 2024-04-09

CSV injection in Relevanssi (4.22.1 and older)

Affected
4.22.1 and older
Fixed in
4.22.2 *
Access needed (per CVSS)
No login needed
Range from
CVE record (the advisory publisher) · score by NVD
Details from the advisory

The Relevanssi – A Better Search plugin for WordPress is vulnerable to CSV Injection in all versions up to, and including, 4.22.1. This makes it possible for unauthenticated attackers to embed untrusted input into exported CSV files, which can result in code execution when these files are downloaded and opened on a local system with a vulnerable configuration.

NVD CVE-2024-3214Wordfence advisoryCode change (fix)

medium 5.3 CVE-2024-1380 · published 2024-03-13

Missing authorization check in Relevanssi (4.22.0 and older)

Affected
4.22.0 and older
Fixed in
4.22.1 *
Access needed (per CVSS)
No login needed
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The Relevanssi – A Better Search plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the relevanssi_export_log_check() function in all versions up to, and including, 4.22.0 (Free) and 2.25.0 (Premium). This makes it possible for unauthenticated attackers to export the query log data. The vendor has indicated that they may look into adding a capability check for proper authorization control, however, this vulnerability is theoretically patched as is.

NVD CVE-2024-1380Wordfence advisoryCode change (fix)

medium 5.3 CVE-2023-7199 · published 2024-01-29

Missing authorization check in Relevanssi (older than 4.22.0)

Affected
older than 4.22.0
Fixed in
4.22.0
Access needed (per CVSS)
No login needed
Range from
CVE record (the advisory publisher) · score by NVD
Details from the advisory

The Relevanssi WordPress plugin before 4.22.0, Relevanssi Premium WordPress plugin before 2.25.0 allows any unauthenticated user to read draft and private posts via a crafted request

NVD CVE-2023-7199WPScan advisoryrelevanssi.com

medium 4.3 CVE-2014-9443 · published 2015-01-02

Cross-site scripting (XSS) in Relevanssi (3.3.7.1 only)

Affected
3.3.7.1 only
Fixed in
3.3.8 *
Range from
NVD analysis · score by NVD
Details from the advisory

Cross-site scripting (XSS) vulnerability in the Relevanssi plugin before 3.3.8 for WordPress allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

NVD CVE-2014-9443wordpress.orgsecunia.com

Recent activity

Browse vulnerabilities

Where this data comes from

Badge for your site or docs (states facts with a date, not a verdict):
Relevanssi vulnerability status badge
<a href="https://laskyr.com/plugins/relevanssi"><img src="https://laskyr.com/plugins/relevanssi/badge.svg" alt="Relevanssi vulnerability status"></a>

← Check another plugin · Free hacked-site scan

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit