SecurityContext

CVE-2025-4054: Relevanssi - Stored XSS

  • Cve: CVE-2025-4054
  • Name: Relevanssi - Stored XSS
  • 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.
  • Impact: Attackers can execute arbitrary scripts in users' browsers, leading to session hijacking, defacement, or redirection.
  • Remediation: Update to the latest version of the plugin where the vulnerability is fixed.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00411
  • Epss percentile: 0.36169
  • Assignee: [email protected]
  • Published at: 2025-05-07T03:15:18Z
  • Age in days: 566
  • Modified at: 2026-06-17T09:32:23Z
  • References total: 5
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-4054
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-highlights.php#L508
https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.3/lib/excerpts-highlights.php#L683
https://plugins.trac.wordpress.org/changeset/3283795/
https://www.relevanssi.com/user-manual/installing-relevanssi-and-adjusting-the-settings/
https://www.wordfence.com/threat-intel/vulnerabilities/id/6f77f10b-f142-4859-a941-0fbde6ef7fdb?source=cve

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts