{"id":"CVE-2025-4054","published":"2025-05-07T02:23:35Z","modified":"2026-04-08T16:59:54Z","title":"Relevanssi <= 4.24.3 (Free) and <= 2.27.4 (Premium) - Unauthenticated Stored Cross-Site Scripting via Search Highlights","vendor":"Relevanssi","product":"Relevanssi Premium","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00631,"percentile":0.44705,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/6f77f10b-f142-4859-a941-0fbde6ef7fdb?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-highlights.php#L683","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-highlights.php#L508","tags":[]},{"url":"https://www.relevanssi.com/user-manual/installing-relevanssi-and-adjusting-the-settings/","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3283795/","tags":[]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":8.94},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"relevanssi","affectedVersions":[{"vendor":"Relevanssi","product":"Relevanssi Premium","versions":["<= 2.27.4"]},{"vendor":"comesio","product":"Relevanssi – A Better Search","versions":["<= 4.24.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-07T13:21:13.480996Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-13660","exploited":false,"provenance":"source"}}