6.1medium
Relevanssi <= 4.24.3 (Free) and <= 2.27.4 (Premium) - Unauthenticated Stored Cross-Site Scripting via Search Highlights
- Severity
- 6.1medium CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.64% (higher than 45% of CVEs)
- Published
- Last changed
- Assigned by
- Wordfence
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Relevanssi Relevanssi Premium | up to 2.27.4 | CVE List |
| comesio Relevanssi – A Better Search | up to 4.24.3 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El complemento Relevanssi – A Better Search para WordPress es vulnerable a Cross-Site Scripting almacenado a través de la función de resaltados en todas las versiones hasta la 4.24.3 incluida, debido a una depuración de entrada y un escape de salida insuficientes. Esto permite a atacantes no autenticados inyectar scripts web arbitrarias en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada a través de los resultados de búsqueda.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-4054 changed 2026-04-08 | CVE Terms of Use |
| NVD | CVE-2025-4054 changed 2026-06-17 | Public domain |