{
 "id": "WPSEC-2026-2999",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2999/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2999/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2999/index.md",
 "title": "ElasticPress <= 5.3.5 - Unauthenticated Stored Cross-Site Scripting via 'orderby' Parameter",
 "description": "The ElasticPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'orderby' parameter in all versions up to, and including, 5.3.5 due to insufficient output escaping of logged Elasticsearch error messages, query log values, and the recommended solutions built from them in the Failed Queries section of the Status Report. This makes it possible for unauthenticated attackers to trigger a failing search query whose error contains injected markup, storing arbitrary web scripts that execute whenever an administrator views the Failed Queries report.",
 "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": 7.2,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": "4.4.0",
    "from_inclusive": true,
    "to": "5.3.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 4.4.0 before 5.3.6"
  ]
 },
 "introduced_in": "4.4.0",
 "fixed_in": "5.3.6",
 "remediation": "Update to 5.3.6 or later.",
 "fix_released": "2026-11-11T17:59:22+00:00",
 "published": "2026-11-12T18:51:01+00:00",
 "updated": "2026-11-12T17:08:04.984919+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2999/",
  "https://plugins.svn.wordpress.org/elasticpress/tags/5.3.6/",
  "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-11-12"
 }
}