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

Published Nov 26, 2026
·
Updated

The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'name (REST /wp/v2/tags) / taxinput[posttag] (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 wpfilterkses stores entity-encoded payloads (e.g., &lt;img src=x onerror=...&gt;) verbatim as literal text in the database, but Relevanssi's relevanssientitydecode() subsequently converts them into live HTML markup before the unescaped return branch of relevanssithetags() splices them into the tag list consumed by the theme.

Affected Software

1 affected component
Relevanssi Relevanssi<=4.28.9

Event History

Nov 26, 2026
CVE Published
via MITRE·11:32 AM
Data Sourced
via MITRE·11:32 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs an authenticated WordPress account with Contributor-level access or higher. They can submit a malicious payload through tag data when saving a post or through the REST tag endpoint.

2

When does the malicious script execute?

The payload is stored in the database and executes when a user accesses a page containing the injected tag list. Relevanssi decodes entity-encoded content into HTML and returns it without escaping in the affected tag-rendering path.

3

Are sites affected if untrusted users cannot create or edit posts?

The described exploitation path requires Contributor-level or higher access. Sites that do not grant such access to untrusted users reduce exposure to this attack path.

4

How can I check whether my site may be affected?

Check whether the installed Relevanssi version is 4.28.9 or earlier, and review tags associated with posts created or edited by Contributor-or-higher accounts for entity-encoded HTML or unexpected markup. Pay particular attention to tag values that may decode into script-capable HTML.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203