What is CVE-2026-135267?
CVE-2026-135267 is a medium-severity cross-site scripting vulnerability in Relevanssi Premium, published on 26 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-79
How severe is CVE-2026-135267?
CVE-2026-135267 scores 6.4 out of 10 under CVSS 3.1, which is medium severity. It was scored by Wordfence.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Which versions are affected by CVE-2026-135267?
An affected version is exposed as installed. No special setting or call is needed.
How do I fix CVE-2026-135267?
No fix has been published for CVE-2026-135267 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-135267 being exploited?
There is no known exploitation of CVE-2026-135267 in the wild and no public exploit code.
Sources
Also known as GHSA-chw2-84pj-65qq.