🔐 CVE Alert

CVE-2025-4054

MEDIUM 6.1

Relevanssi <= 4.24.3 (Free) and <= 2.27.4 (Premium) - Unauthenticated Stored Cross-Site Scripting via Search Highlights

CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-79
Vendor relevanssi
Product relevanssi premium
Published May 7, 2025
Last Updated Apr 8, 2026
Stay Ahead of the Next One

Get instant alerts for relevanssi relevanssi premium

Be the first to know when new medium vulnerabilities affecting relevanssi relevanssi premium are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

Relevanssi / Relevanssi Premium
0 ≤ 2.27.4
comesio / Relevanssi – A Better Search
0 ≤ 4.24.3

References

NVD ↗ CVE.org ↗ EPSS Data ↗
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/6f77f10b-f142-4859-a941-0fbde6ef7fdb?source=cve 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/browser/relevanssi/tags/4.24.3/lib/excerpts-highlights.php#L508 relevanssi.com: https://www.relevanssi.com/user-manual/installing-relevanssi-and-adjusting-the-settings/ plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3283795/

Credits

Jack Taylor