CVE-2025-4054
MEDIUM
6.1
CVSS 3.1
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 WordPress components
-
Relevanssi – A Better Search Plugin · relevanssiUp to and including 2.27.4; Up to and including 4.24.3View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Relevanssi Relevanssi Premium — Up to and including 2.27.4
- comesio Relevanssi – A Better Search — Up to and including 4.24.3
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-highlights.php#L508
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-highlights.php#L683
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3283795/
- www.relevanssi.com https://www.relevanssi.com/user-manual/installing-relevanssi-and-adjusting-the-settings/
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/6f77f10b-f142-4859-a941-0fbde6ef7fdb?source=cve
- nvd.nist.gov Official NVD record