Plugins · relevanssi · data as of 2026-11-04
Is Relevanssi safe? Known vulnerabilities and latest version
- 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
- 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”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- 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.
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.
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.
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
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.
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.
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
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.
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.
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.
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
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.
Recent activity
- 2026-10-30 — latest release on wordpress.org (4.28.8).
- 2026-10-31 — Stored cross-site scripting (XSS) disclosed (CVE-2026-116522), fixed in 4.28.6.
- 2026-10-24 — PHP object injection disclosed (CVE-2026-114704), fixed in 4.28.5.
- 2026-10-02 — Stored cross-site scripting (XSS) disclosed (CVE-2026-97641), fixed in 4.28.4.
Get an email when Relevanssi has a new vulnerability
Free. We check the CVE feeds every day and email you only when a new issue for Relevanssi (relevanssi) is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
- Published this week
- Unpatched in the latest version
- By type of vulnerability
- Plugins by Christoph Vielgrader (2 tracked)
Types found in this plugin: Cross-site scripting (XSS) (7) · SQL injection (3) · Missing authorization (3) · PHP object injection (1) · Sensitive data exposure (1)
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/relevanssi (Plugins API), fetched 2026-11-04.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-04. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Each record links to its CVE page and to the original advisory (Wordfence, Patchstack or WPScan) where there is one. We only list a CVE here when its references or its advisory name this exact plugin, so a few real issues may be missing; none should be about a different plugin. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/relevanssi"><img src="https://laskyr.com/plugins/relevanssi/badge.svg" alt="Relevanssi vulnerability status"></a>