CVE-2025-5016: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Relevanssi Relevanssi Premium
The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Excerpt Highlights in all versions up to, and including, 4.24.5 (Free) and 2.27.6 (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.
AI Analysis
Technical Summary
The Relevanssi plugin for WordPress suffers from a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input during web page generation. Specifically, the Excerpt Highlights feature does not adequately sanitize or escape user input, enabling unauthenticated attackers to inject arbitrary scripts. These scripts execute in the context of users who access the compromised pages, potentially leading to information disclosure or session hijacking. The vulnerability affects all versions up to 4.24.5 (Free) and 2.27.6 (Premium). The CVSS 3.1 vector indicates network attack vector, high attack complexity, no privileges required, user interaction required, scope changed, and low impact on confidentiality and integrity, with no impact on availability.
Potential Impact
An unauthenticated attacker can inject persistent malicious scripts into pages generated by the Relevanssi plugin's Excerpt Highlights feature. When other users view these pages, the scripts execute in their browsers, potentially leading to information disclosure or manipulation of user sessions. The impact is limited to confidentiality and integrity with low severity, and no impact on availability is noted. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling the Excerpt Highlights feature or applying custom input sanitization and output escaping as a temporary mitigation. Monitor official Relevanssi communications for updates and apply patches promptly once released.
CVE-2025-5016: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Relevanssi Relevanssi Premium
Description
The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Excerpt Highlights in all versions up to, and including, 4.24.5 (Free) and 2.27.6 (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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Relevanssi plugin for WordPress suffers from a stored cross-site scripting vulnerability (CWE-79) due to improper neutralization of input during web page generation. Specifically, the Excerpt Highlights feature does not adequately sanitize or escape user input, enabling unauthenticated attackers to inject arbitrary scripts. These scripts execute in the context of users who access the compromised pages, potentially leading to information disclosure or session hijacking. The vulnerability affects all versions up to 4.24.5 (Free) and 2.27.6 (Premium). The CVSS 3.1 vector indicates network attack vector, high attack complexity, no privileges required, user interaction required, scope changed, and low impact on confidentiality and integrity, with no impact on availability.
Potential Impact
An unauthenticated attacker can inject persistent malicious scripts into pages generated by the Relevanssi plugin's Excerpt Highlights feature. When other users view these pages, the scripts execute in their browsers, potentially leading to information disclosure or manipulation of user sessions. The impact is limited to confidentiality and integrity with low severity, and no impact on availability is noted. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling the Excerpt Highlights feature or applying custom input sanitization and output escaping as a temporary mitigation. Monitor official Relevanssi communications for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-05-20T19:13:58.866Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 683a7ada182aa0cae2ce8ed1
Added to database: 5/31/2025, 3:43:22 AM
Last enriched: 4/9/2026, 10:26:49 AM
Last updated: 5/9/2026, 1:28:33 AM
Views: 65
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.