XSS in Comesio Relevanssi – A Better Search
CVE-2025-4054
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (34.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 34th percentile — 34.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Comesio Relevanssi – A Better Search — versions 0
- Relevanssi Premium — versions 0
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/6f77f10b-f142-4859-a941-0fbde…
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-highligh…
- plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-highligh…
- www.relevanssi.com/user-manual/installing-relevanssi-and-adjusting-the-settings/
- plugins.trac.wordpress.org/changeset/3283795/
Frequently asked questions
- What is CVE-2025-4054?
- CVE-2025-4054 is a medium-severity vulnerability in Comesio Relevanssi – A Better Search, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2025-05-07.
- How severe is CVE-2025-4054?
- Medium severity. CVSS v3 base score is 6.1 out of 10.