Skip to main content

Relevanssi CVE-2026-135267

| EUVDEUVD-2026-136242 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-26 Wordfence
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as contributor or above
  2. Delivery
    Inject entity-encoded payload in post tag
  3. Exploit
    Save post via block editor or REST /wp/v2/tags
  4. Execution
    relevanssi_entity_decode() revives entities into live markup
  5. Persist
    relevanssi_the_tags() returns unescaped tag list
  6. Impact
    Script executes in visitor's browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated account with contributor-level capabilities or above (PR:L) that can create or edit posts and set post tags, delivered either through the post-save path (tax_input[post_tag]) or the REST endpoint /wp/v2/tags ('name' parameter). The payload must be entity-encoded (e.g. <img src=x onerror=...>) so that WordPress's wp_filter_kses stores it as literal text, which Relevanssi's relevanssi_entity_decode() later revives into live markup. Crucially, the stored payload only becomes active when the site's theme renders tags via Relevanssi's relevanssi_the_tags() function and hits its unescaped return branch - sites whose themes do not call that function are not exposed through this sink. Limiting factors: the authentication requirement, the dependency on a theme using relevanssi_the_tags(), and the need for a victim to subsequently view the injected page for the script to fire.

Impact

This is a moderate-severity, authenticated stored XSS (CVSS 6.4, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) that should be prioritized as routine patching rather than an emergency. The CVSS vector requires privileges (PR:L), matching the description's contributor-level-and-above requirement, and the scope change (S:C) reflects script execution in the browsers of other users who view the injected page. The vuln.today decision label is 'this_month' - meaningful but not act_now/emergency. No KEV listing and no EPSS score are provided in the input, and no exploit/PoC reference is present, so this is 'no public exploit identified at time of analysis.' The low real-world risk drivers are the authentication barrier (an attacker must already hold a contributor account) and a deployment dependency: the unescaped output path only triggers where the theme actually calls Relevanssi's relevanssi_the_tags() to render tags, so sites not using that function are not exposed via this sink. Net: a genuine but gated issue - patch in normal cadence, with higher urgency on multi-author sites that grant contributor accounts and use themes calling relevanssi_the_tags().

Exploit ScenarioDerived

An attacker holding a contributor-level WordPress account saves a post whose post_tag taxonomy input (via the block/classic editor or the REST /wp/v2/tags endpoint) contains an entity-encoded payload such as <img src=x onerror=...>, which WordPress's wp_filter_kses stores verbatim as literal text. When a theme later renders the tag list through Relevanssi's relevanssi_the_tags(), relevanssi_entity_decode() converts the stored entities back into live HTML and the unescaped return branch splices it into the page, executing the script in the browser of any visitor who views that page. No public exploit is identified at time of analysis; exploitation requires network access (AV:N) and low attack complexity (AC:L) but a valid authenticated account.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Stored cross-site scripting in the Relevanssi - A Better Search WordPress plugin through 4.28.9 allows authenticated users with contributor-level access or above to inject entity-encoded scripts via post tags (tax_input[post_tag]) or the /wp/v2/tags REST 'name' parameter; WordPress KSES stores the payload as literal text, and Relevanssi later decodes it into live markup when a theme calls relevanssi_the_tags(). The issue is moderate severity (CVSS 6.4) and requires a victim to view the affected page; no public exploit identified at time of analysis. Sites are exposed only when the active theme renders tags through relevanssi_the_tags() and hits the unescaped return branch.

RemediationAI

Upstream fix available (commit e37730239b7f058882589467ca4afbbe48747ec1); a released patched version is not independently confirmed in the provided data. The fix changes relevanssi_the_tags() to return wp_kses_post( $tag_list ) and the readme notes blocking stored cross-site scripting through post tags and relevanssi_the_tags(); apply the fixed Relevanssi build that contains this commit and consult the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/6cabeb52-f089-469b-adcd-72aa6fcc3676?source=cve. If the fixed build cannot be deployed immediately, restrict contributor-level and higher accounts that can create or edit posts and set post tags, and audit themes that call relevanssi_the_tags() because the sink only fires where that function renders tags; both measures reduce exposure but do not repair the vulnerable code, and restricting contributors may disrupt legitimate publishing workflows.

Affected VersionsENISA

Relevanssi Premium 0 ≤2.31.11
Relevanssi – A Better Search 0 ≤4.28.9

Affected Packages

euvd relevanssi_a_better_search no fix
euvd relevanssi_premium no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-79 (improper neutralization of input during web page generation) in a WordPress search plugin. WordPress's wp_filter_kses sanitization stores entity-encoded tag values such as <img src=x onerror=...> as literal text; Relevanssi's relevanssi_entity_decode() converts those entities back into live markup, and the unescaped return branch of relevanssi_the_tags() outputs the tag list without escaping. The two injection paths identified in the sources are the post-save parameter tax_input[post_tag] and the REST /wp/v2/tags 'name' parameter. The supplied commit changes return $tag_list to return wp_kses_post( $tag_list ), which is a direct output-escaping fix for the sink. CPE data lists both Relevanssi - A Better Search and Relevanssi Premium, so the vendor advisory should be used to confirm Premium version exposure. Exploitation requires contributor-level or higher authentication and a theme that calls relevanssi_the_tags(); the sources do not describe additional trigger conditions beyond those authenticated tag creation/update paths.

Know when Relevanssi gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Network-reachable via editor/REST with low complexity; PR:L reflects the required contributor account; S:C and C:L/I:L capture script execution affecting other users' browser sessions, no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Relevanssi - A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'name (REST /wp/v2/tags) / tax_input[post_tag] (post save)' parameter in all versions up to, and including, 4.28.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable because WordPress's wp_filter_kses stores entity-encoded payloads (e.g., <img src=x onerror=...>) verbatim as literal text in the database, but Relevanssi's relevanssi_entity_decode() subsequently converts them into live HTML markup before the unescaped return branch of relevanssi_the_tags() splices them into the tag list consumed by the theme.

Threat Intelligence Overview

EPSS Score
0.4%
Top 79% exploitable
Prevalence
Medium
popular WordPress search plugin, widely installed but not universal
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2024-1380 MEDIUM POC
5.3 Mar 13

The Relevanssi - A Better Search plugin for WordPress is vulnerable to unauthorized access of data due to a missing capa

CVE-2017-1000038 MEDIUM POC
6.1 Jul 17

WordPress plugin Relevanssi version 3.5.7.1 is vulnerable to stored XSS resulting in attacker being able to execute Java

CVE-2017-1000225 MEDIUM POC
6.1 Nov 17

Reflected XSS in Relevanssi Premium version 1.14.8 when using relevanssi_didyoumean() could allow unauthenticated attack

CVE-2024-9021 MEDIUM POC
5.4 Oct 08

In the process of testing the Relevanssi WordPress plugin before 4.23.1, a vulnerability was found that allows you to im

CVE-2018-9034 MEDIUM POC
5.4 Apr 04

Cross-site scripting (XSS) vulnerability in lib/interface.php of the Relevanssi plugin 4.0.4 for WordPress allows remote

CVE-2026-103426 HIGH
7.2 Oct 02

Stored cross-site scripting in Relevanssi Premium through 2.31.4 lets unauthenticated attackers inject arbitrary web scr

CVE-2026-135620 MEDIUM
6.5 Nov 26

An authenticated information-disclosure flaw in the Relevanssi search plugin for WordPress (free and Premium, all versio

CVE-2026-15941 MEDIUM
6.5 Aug 05

SQL injection in Relevanssi's Admin Search AJAX handler (both free and Premium editions) allows authenticated WordPress

CVE-2024-3214 MEDIUM
5.8 Apr 09

The Relevanssi - A Better Search plugin for WordPress is vulnerable to CSV Injection in all versions up to, and includin

CVE-2024-7630 MEDIUM
5.3 Aug 16

The Relevanssi - A Better Search plugin for WordPress is vulnerable to Information Exposure in all versions up to, and i

CVE-2024-3213 MEDIUM
5.3 Apr 09

The Relevanssi - A Better Search plugin for WordPress is vulnerable to unauthorized modification of data due to a missin

CVE-2014-9443 MEDIUM
4.3 Jan 02

Cross-site scripting (XSS) vulnerability in the Relevanssi plugin before 3.3.8 for WordPress allows remote attackers to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy