Relevanssi <= 4.28.5 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Late Entity Decode
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The Relevanssi search plugin for WordPress is affected, specifically its comment indexing and highlighting features when both are enabled. An unauthenticated attacker can inject malicious scripts through comment content that run in a visitor's browser when they open a affected page via a Relevanssi search result link.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- comesio Relevanssi – A Better Search
through 4.28.5
References 8
plugins.trac.wordpress.org
- browser/relevanssi/tags/4.28.5/lib/excerpts-highlights.php#L521
- browser/relevanssi/tags/4.28.5/lib/excerpts-highlights.php#L688
- browser/relevanssi/tags/4.28.5/lib/excerpts-highlights.php#L1698
- browser/relevanssi/tags/4.28.5/lib/init.php#L140
- browser/relevanssi/tags/4.28.5/lib/common.php#L1037
- changeset?reponame=&new=3767703%40relevanssi%2Ftags%2F4.28.6&old=3761637%40relevanssi%2Ftags%2F4.28.5