{"id":"CVE-2026-135267","summary":"Relevanssi \u003c= 4.28.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'tax_input[post_tag]' Parameter","details":"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.","modified":"2026-11-27T21:00:41.855802478Z","published":"2026-11-26T11:32:14.624Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135267.json","unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"last_affected":"2.31.11"}]}]}],"cna_assigner":"Wordfence","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/excerpts-highlights.php#L1700"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/excerpts-highlights.php#L690"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/utils.php#L1543"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/browser/relevanssi/tags/4.28.9/lib/utils.php#L644"},{"type":"WEB","url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/6cabeb52-f089-469b-adcd-72aa6fcc3676?source=cve"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135267.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135267"},{"type":"FIX","url":"https://github.com/msaari/relevanssi/commit/e37730239b7f058882589467ca4afbbe48747ec1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/msaari/relevanssi","events":[{"introduced":"0"},{"fixed":"e37730239b7f058882589467ca4afbbe48747ec1"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"4.28.9"}]},{"range":[{"fixed":"e37730239b7f058882589467ca4afbbe48747ec1"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["4.28.9","4.28.8","4.28.7","4.28.6","4.28.5","4.28.4","4.28.3","4.28.2","4.28.1","4.28.0","4.27.2","4.27.1","4.27.0","4.26.1","4.26.0","4.25.0","4.24.6","4.24.5","4.24.4","4.24.3","4.24.2","4.24.1","4.24.0","4.23.1","4.23.0","4.22.2","4.22.1","4.22.0","4.21.2","4.21.1","4.21.0","4.20.0","4.19.0","4.18.4","4.18.3","4.18.2","4.18.1","4.18.0","4.17.1","4.17.0","4.16.0","4.15.2","4.15.1","4.15.0","4.14.7","4.14.6","4.14.5","4.14.4","4.14.3","4.14.2","4.14.1","4.14.0","4.13.3.1","4.13.3","4.13.2","4.13.1","4.13.0","4.12.5","4.12.4","4.12.3","4.12.2","4.12.1","4.12.0","4.11.1","4.11.0","4.10.2","4.10.1","4.10.0","4.9.1","4.9.0","4.8.3","4.8.2","4.8.1","4.8.0","4.7.2","4.7.1","4.7.0","4.6.0","4.5.0","4.4.1","4.4.0","4.3.4","4.3.3","4.3.2","4.3.1.1","4.3.1","4.3.0","4.2.0","4.1.4","4.1.3","4.1.2","4.1.1.2","4.1.1","4.1.0.1","4.1","4.0.11","4.0.10.1","4.0.10","4.0.9","4.0.8","4.0.7","4.0.6","4.0.5","4.0.4","4.0.3","4.0.2","4.0.1","3.6.2.2","3.6.2","3.6.1","3.6.0","3.5.12","3.5.11","3.5.10","3.5.9.1","3.5.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135267.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}