Description
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.
Published: 2026-11-26
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 26 Nov 2026 11:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Relevanssi <= 4.28.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'tax_input[post_tag]' Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-11-26T11:32:14.624Z

Reserved: 2026-11-23T15:55:02.376Z

Link: CVE-2026-135267

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses