#VU111587 Stored cross-site scripting in Relevanssi - A Better Search - CVE-2025-4054
Published: June 20, 2025
Relevanssi - A Better Search
Mikko Saari
Description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data within the highlights functionality. A remote attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Remediation
External links
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-highlights.php#L508
- https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-highlights.php#L683
- https://plugins.trac.wordpress.org/changeset/3283795/
- https://www.relevanssi.com/user-manual/installing-relevanssi-and-adjusting-the-settings/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6f77f10b-f142-4859-a941-0fbde6ef7fdb?source=cve