{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-0803",
 "modified": "2026-11-23T07:06:33Z",
 "published": "2026-10-12T14:50:42Z",
 "summary": "Hash Elements <= 1.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Total Portfolio Masonry Widget 'active_cat' Setting",
 "details": "The Hash Elements plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'active_cat' (Active Category) setting of the Total Portfolio Masonry widget in versions 1.0.4 to 1.5.5, due to insufficient input sanitization and output escaping. The value is placed into the data-active attribute of the widget's category filter list without escaping. This makes it possible for authenticated attackers, with Contributor-level access and above who can edit content with Elementor, to inject arbitrary web scripts in pages that execute whenever a user accesses an injected page.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "hash-elements"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "1.0.4"
      },
      {
       "fixed": "1.5.7"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 1.0.4 before 1.5.7"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-0803/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/hash-elements/tags/1.5.7/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/hash-elements/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-0803/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
