Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as contributor or above
-
DeliveryInject entity-encoded payload in post tag
-
ExploitSave post via block editor or REST /wp/v2/tags
-
Executionrelevanssi_entity_decode() revives entities into live markup
-
Persistrelevanssi_the_tags() returns unescaped tag list
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Relevanssi
View allThe Relevanssi - A Better Search plugin for WordPress is vulnerable to unauthorized access of data due to a missing capa
WordPress plugin Relevanssi version 3.5.7.1 is vulnerable to stored XSS resulting in attacker being able to execute Java
Reflected XSS in Relevanssi Premium version 1.14.8 when using relevanssi_didyoumean() could allow unauthenticated attack
In the process of testing the Relevanssi WordPress plugin before 4.23.1, a vulnerability was found that allows you to im
Cross-site scripting (XSS) vulnerability in lib/interface.php of the Relevanssi plugin 4.0.4 for WordPress allows remote
Stored cross-site scripting in Relevanssi Premium through 2.31.4 lets unauthenticated attackers inject arbitrary web scr
An authenticated information-disclosure flaw in the Relevanssi search plugin for WordPress (free and Premium, all versio
SQL injection in Relevanssi's Admin Search AJAX handler (both free and Premium editions) allows authenticated WordPress
The Relevanssi - A Better Search plugin for WordPress is vulnerable to CSV Injection in all versions up to, and includin
The Relevanssi - A Better Search plugin for WordPress is vulnerable to Information Exposure in all versions up to, and i
The Relevanssi - A Better Search plugin for WordPress is vulnerable to unauthorized modification of data due to a missin
Cross-site scripting (XSS) vulnerability in the Relevanssi plugin before 3.3.8 for WordPress allows remote attackers to
EUVD-2026-136242
NVD
CVE.org
EPSS
GitHub
Exploit-DB