{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-4054","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","state":"PUBLISHED","assignerShortName":"Wordfence","dateReserved":"2025-04-28T22:40:29.874Z","datePublished":"2025-05-07T02:23:35.152Z","dateUpdated":"2026-04-08T16:59:54.984Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","shortName":"Wordfence","dateUpdated":"2026-04-08T16:59:54.984Z"},"affected":[{"vendor":"Relevanssi","product":"Relevanssi Premium","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.27.4","versionType":"semver"}],"defaultStatus":"unaffected"},{"vendor":"comesio","product":"Relevanssi – A Better Search","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.24.3","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"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."}],"title":"Relevanssi <= 4.24.3 (Free) and <= 2.27.4 (Premium) - Unauthenticated Stored Cross-Site Scripting via Search Highlights","references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/6f77f10b-f142-4859-a941-0fbde6ef7fdb?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-highlights.php#L683"},{"url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-highlights.php#L508"},{"url":"https://www.relevanssi.com/user-manual/installing-relevanssi-and-adjusting-the-settings/"},{"url":"https://plugins.trac.wordpress.org/changeset/3283795/"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","cweId":"CWE-79","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"credits":[{"lang":"en","type":"finder","value":"Jack Taylor"}],"timeline":[{"time":"2025-04-20T00:00:00.000Z","lang":"en","value":"Discovered"},{"time":"2025-05-06T13:45:18.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-07T13:21:13.480996Z","id":"CVE-2025-4054","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-05-07T13:21:23.620Z"}}]}}