Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-h
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-h
- https://plugins.trac.wordpress.org/changeset/3283795/
- https://www.relevanssi.com/user-manual/installing-relevanssi-and-adjusting-the-s
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6f77f10b-f142-4859-a94
FAQ
What is CVE-2025-4054?
CVE-2025-4054 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 (P...
How severe is CVE-2025-4054?
CVE-2025-4054 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-4054?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.