# CVE-2025-5016: Relevanssi <= 4.24.5 (Free) and <= 2.27.6 (Premium) - Unauthenticated Stored Cross-Site Scripting via Excerpt Highlights

- Severity: Medium 4.7 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-02)
- Published: 2025-05-31T03:26:42.241Z
- Modified: 2026-06-17T09:47:02.270Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- Relevanssi Relevanssi Premium: up to 2.27.6
- comesio Relevanssi – A Better Search: up to 4.24.5

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/ffb2ade3-d5ce-4459-ab83-e28cd4c84922?source=cve>
- <https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.24.5/lib/excerpts-highlights.php#L418>

## Sources

- CVE List: [CVE-2025-5016](https://www.cve.org/CVERecord?id=CVE-2025-5016), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-5016](https://nvd.nist.gov/vuln/detail/CVE-2025-5016), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5016 · Whole record: https://cve.day/CVE-2025-5016.json · Rebuilt by cve.day 2026-11-25T22:58:58.613Z
