First published: Wed May 07 2025(Updated: )
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 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.
Credit: security@wordfence.com
Affected Software | Affected Version | How to fix |
---|---|---|
Relevanssi | <=4.24.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-4054 is classified as a high severity vulnerability due to its potential for Stored Cross-Site Scripting attacks.
To fix CVE-2025-4054, update the Relevanssi plugin to version 4.24.4 or later.
CVE-2025-4054 affects all versions of the Relevanssi plugin for WordPress up to and including 4.24.3.
CVE-2025-4054 is a Stored Cross-Site Scripting vulnerability caused by inadequate sanitization of user input.
Yes, CVE-2025-4054 can be exploited by unauthenticated users, allowing them to execute scripts in the context of the affected site.