{
 "id": "WPSEC-2026-4630",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4630/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4630/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4630/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4630.json",
 "title": "ElasticPress <= 5.3.6 - Authenticated (Author+) Stored Cross-Site Scripting via Post Title in Autosuggest",
 "description": "The ElasticPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via post titles shown in Autosuggest results in all versions up to, and including, 5.3.6, due to insufficient output escaping. Indexed post titles were inserted into the page with innerHTML and only their double quotes were replaced, which turns quoted attributes in title markup into unquoted ones. Search-term highlighting was also applied to the raw markup. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in published post titles that execute when a visitor's search shows the post in Autosuggest.",
 "plugin": {
  "slug": "elasticpress",
  "name": "ElasticPress",
  "full_name": "ElasticPress",
  "wordpress_org": "https://wordpress.org/plugins/elasticpress/",
  "advisories_url": "https://wpsec.com/vuln/plugin/elasticpress/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/elasticpress"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "2.4",
    "from_inclusive": true,
    "to": "5.3.7",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 2.4 before 5.3.7"
  ]
 },
 "introduced_in": "2.4",
 "fixed_in": "5.3.7",
 "remediation": "Update to 5.3.7 or later.",
 "fix_released": "2026-12-03T15:46:11+00:00",
 "published": "2026-12-04T15:47:21+00:00",
 "updated": "2026-12-04T09:16:32.722344+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4630/",
  "https://plugins.svn.wordpress.org/elasticpress/tags/5.3.7/",
  "https://wordpress.org/plugins/elasticpress/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/elasticpress",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-12-04"
 }
}