CVE-2025-4054: 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 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.
AI Analysis
Technical Summary
The Relevanssi WordPress plugin versions up to 4.24.3 (free) and 2.27.4 (premium) contain a stored cross-site scripting vulnerability (CWE-79) in the highlights feature. This vulnerability allows unauthenticated attackers to inject arbitrary web scripts due to improper neutralization of input during web page generation, specifically insufficient input sanitization and output escaping. When a user accesses a search result page containing the injected script, the malicious code executes in the user's browser context. The CVSS 3.1 base score is 6.1, reflecting network attack vector, low attack complexity, no privileges required, user interaction required, scope changed, and low impact on confidentiality and integrity but no impact on availability. No patch or remediation details are currently provided by the vendor, and no known exploits have been reported.
Potential Impact
Successful exploitation allows unauthenticated attackers to perform stored cross-site scripting attacks, potentially leading to the execution of arbitrary scripts in the context of users visiting affected search result pages. This can result in limited confidentiality and integrity impacts, such as session hijacking or content manipulation. There is no reported impact on availability. The vulnerability affects all users of the vulnerable plugin versions who access injected pages.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider disabling the highlights functionality or the Relevanssi plugin if feasible to mitigate risk. Monitor vendor channels for updates and apply patches promptly once available.
CVE-2025-4054: 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 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Relevanssi WordPress plugin versions up to 4.24.3 (free) and 2.27.4 (premium) contain a stored cross-site scripting vulnerability (CWE-79) in the highlights feature. This vulnerability allows unauthenticated attackers to inject arbitrary web scripts due to improper neutralization of input during web page generation, specifically insufficient input sanitization and output escaping. When a user accesses a search result page containing the injected script, the malicious code executes in the user's browser context. The CVSS 3.1 base score is 6.1, reflecting network attack vector, low attack complexity, no privileges required, user interaction required, scope changed, and low impact on confidentiality and integrity but no impact on availability. No patch or remediation details are currently provided by the vendor, and no known exploits have been reported.
Potential Impact
Successful exploitation allows unauthenticated attackers to perform stored cross-site scripting attacks, potentially leading to the execution of arbitrary scripts in the context of users visiting affected search result pages. This can result in limited confidentiality and integrity impacts, such as session hijacking or content manipulation. There is no reported impact on availability. The vulnerability affects all users of the vulnerable plugin versions who access injected pages.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider disabling the highlights functionality or the Relevanssi plugin if feasible to mitigate risk. Monitor vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-04-28T22:40:29.874Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682d981bc4522896dcbd9bf8
Added to database: 5/21/2025, 9:08:43 AM
Last enriched: 4/9/2026, 5:25:56 PM
Last updated: 5/8/2026, 6:27:16 PM
Views: 78
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.