Read the docs

Stored cross-site scripting in Relevanssi search plugin for WordPress

Priority LOW 28CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

Relevanssi Premium through 2.31.11 and comesio's Relevanssi (A Better Search) through 4.28.9 are affected. Insufficient input sanitization and output escaping of tag names (CWE-79) lets stored entity-encoded input become live HTML when the plugin renders the tag list. An authenticated attacker with contributor-level access or higher can inject scripts into pages that run whenever a user opens an injected page.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

EPSS 0.00354 21st percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
comesioRelevanssi Premiumup to 2.31.11—No fix listedCNA
comesioRelevanssi – A Better Searchup to 4.28.9—No fix listedCNA
  • Relevanssi Premium Vendorcomesio Affected up to 2.31.11 Fixed in — No fix listed CNA
  • Relevanssi – A Better Search Vendorcomesio Affected up to 4.28.9 Fixed in — No fix listed CNA

Remediation

No fixed version is listed for Relevanssi Premium or for comesio's Relevanssi (A Better Search).

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-135267
  2. 2026-11-27 Alias added: GHSA-chw2-84pj-65qq

References

  • TI-2023-06585 Relevanssi (Free < 4.22.0, Premium < 2.25.0) - Unauthenticated Private/Draft Post Disclosure CVSS 3.1MEDIUM 5.3
  • TI-2024-08374 Relevanssi < 4.23.1 - Contributor+ Stored XSS CVSS 3.1MEDIUM 5.4
  • TI-2024-03012 Relevanssi – A Better Search <= 4.22.1 - Unauthenticated Second Order CSV Injection CVSS 3.1CRITICAL 9.8
  • TI-2025-03923 Relevanssi <= 4.24.4 (Free) and <= 2.27.5 (Premium) - Unauthenticated SQL Injection CVSS 3.1HIGH 7.5
  • TI-2024-03011 Relevanssi – A Better Search <= 4.22.1 - Missing Authorization to Unauthenticated Count Option Update CVSS 3.1HIGH 8.2
  • TI-2016-08987 The Relevanssi Premium plugin before 1.14.6.1 for WordPress has SQL injection with resultant unsafe unserialization. CVSS 3.1HIGH 8.8
See all 21 →

Sources