# CVE-2026-116522: Relevanssi <= 4.28.5 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Late Entity Decode

- Severity: High 7.2 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-10-31T06:44:17.433Z
- Modified: 2026-11-02T16:19:19.997Z
- 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 'comment' parameter in all versions up to, and including, 4.28.5 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. This requires the site to have both the comment indexing and comment highlighting options enabled, and the payload only fires when a visitor reaches a singular page via a Relevanssi search-result permalink carrying the highlight query parameter.

(As written by CVE List.)

## Affected

- comesio Relevanssi – A Better Search: up to 4.28.5

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/442403ae-9011-4373-a363-e98e07ec7e9b?source=cve>
- <https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/excerpts-highlights.php#L521>
- <https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/excerpts-highlights.php#L688>
- <https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/excerpts-highlights.php#L1698>
- <https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/init.php#L140>
- <https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.5/lib/common.php#L1037>
- <https://github.com/msaari/relevanssi/commit/b0324957b27e2dfc2aa116c96dcf578fbec9e0e5>
- <https://plugins.trac.wordpress.org/changeset?reponame=&new=3767703%40relevanssi%2Ftags%2F4.28.6&old=3761637%40relevanssi%2Ftags%2F4.28.5>

## Sources

- CVE List: [CVE-2026-116522](https://www.cve.org/CVERecord?id=CVE-2026-116522), CVE Terms of Use, modified 2026-11-01
- NVD: [CVE-2026-116522](https://nvd.nist.gov/vuln/detail/CVE-2026-116522), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-116522 · Whole record: https://cve.day/CVE-2026-116522.json · Rebuilt by cve.day 2026-11-25T22:59:48.058Z
