Skip to content

CVE-2026-135267 Relevanssi <= 4.28.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'tax_input[post_tag]' Parameter

MediumCVSS 6.4 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
Technology
WordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
comesio Relevanssi – A Better Search <= 4.28.9 after 4.28.9 Fixed
Relevanssi Premium <= 2.31.11 after 2.31.11 Fixed

Affected products

ProductAffected versionsFixed in
Relevanssi Premium <= 2.31.11 No fix listed
comesio Relevanssi – A Better Search <= 4.28.9 No fix listed

References