{"affected":[{"defaultStatus":"unaffected","product":"Relevanssi Premium","source":"CNA: Wordfence","vendor":"Relevanssi","versions":[{"lessThanOrEqual":"2.31.11","status":"affected","version":"0","versionType":"semver"}]},{"defaultStatus":"unaffected","product":"Relevanssi – A Better Search","source":"CNA: Wordfence","vendor":"comesio","versions":[{"lessThanOrEqual":"4.28.9","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-135267","cwes":["CWE-79"],"description":"The Relevanssi – A Better Search plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'name (REST /wp/v2/tags) / tax_input[post_tag] (post save)' parameter in all versions up to, and including, 4.28.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable because WordPress's wp_filter_kses stores entity-encoded payloads (e.g., &lt;img src=x onerror=...&gt;) verbatim as literal text in the database, but Relevanssi's relevanssi_entity_decode() subsequently converts them into live HTML markup before the unescaped return branch of relevanssi_the_tags() splices them into the tag list consumed by the theme.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6.4,"severity":"medium","source":"CNA: Wordfence","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"}],"modifiedAt":1795692734624,"publishedAt":1795692734624,"references":[{"source":"CNA: Wordfence","tags":[],"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/6cabeb52-f089-469b-adcd-72aa6fcc3676?source=cve"},{"source":"CNA: Wordfence","tags":[],"url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/utils.php#L1543"},{"source":"CNA: Wordfence","tags":[],"url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/utils.php#L644"},{"source":"CNA: Wordfence","tags":[],"url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/excerpts-highlights.php#L690"},{"source":"CNA: Wordfence","tags":[],"url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/excerpts-highlights.php#L1700"},{"source":"CNA: Wordfence","tags":[],"url":"https://github.com/msaari/relevanssi/commit/e37730239b7f058882589467ca4afbbe48747ec1"}],"remediation":[],"revision":"75723c619a5e66fe6482b6d5121711c025783ed074906420ba7d6e4f06e70c32","sources":[{"modifiedAt":1795692734624,"name":"CNA: Wordfence","retrievedAt":1795694978409,"url":"https://www.cve.org/CVERecord?id=CVE-2026-135267"}],"ssvc":null,"status":"published","title":"Relevanssi <= 4.28.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'tax_input[post_tag]' Parameter","updatedAt":1795694978409}