CVE-2025-4054: Comesio Relevanssi – A Better Search

Medium severity, CVSS 6.1. EPSS: 0.4% chance of exploitation in the next 30 days.

The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the highlights functionality in all versions up to, and including, 4.24.3 (Free) and <= 2.27.4 (Premium), due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page via the search results.

Affected products

  • Comesio Relevanssi – A Better Search: up to and including 4.24.3
  • Relevanssi Relevanssi Premium: up to and including 2.27.4

Published 2025-05-07. Last modified 2026-06-17.