CVE-2026-135267
NVDCVSS scored by security@wordfence.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 6.4 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityLow
IntegrityLow
AvailabilityNone
Affected & Patched Versions
- Relevanssi Premium <= 2.31.11
- comesio Relevanssi β A Better Search <= 4.28.9
- Relevanssi Premium 2.31.11
- comesio Relevanssi β A Better Search 4.28.9
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Relevanssi Premium and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 26, 2026Published
- Nov 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Relevanssi Premium CVEsYou are reading CVE-2026-135267. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/msaari/relevanssi/commit/e37730239b7f058882589467ca4afbbe48747ec1
- Referencehttps://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/excerpts-highlights.php#L1700
- Referencehttps://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/excerpts-highlights.php#L690
- Referencehttps://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/utils.php#L1543
- Referencehttps://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/utils.php#L644
- Referencehttps://www.wordfence.com/threat-intel/vulnerabilities/id/6cabeb52-f089-469b-adcd-72aa6fcc3676?source=cve
Data last checked: Nov 26, 2026 14:01 UTC