{
 "id": "WPSEC-2026-0803",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0803/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0803/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0803/index.md",
 "title": "Hash Elements <= 1.5.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Total Portfolio Masonry Widget 'active_cat' Setting",
 "description": "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.",
 "plugin": {
  "slug": "hash-elements",
  "name": "Hash Elements",
  "full_name": "Hash Elements",
  "wordpress_org": "https://wordpress.org/plugins/hash-elements/",
  "advisories_url": "https://wpsec.com/vuln/plugin/hash-elements/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/hash-elements"
 },
 "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": "1.0.4",
    "from_inclusive": true,
    "to": "1.5.7",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.0.4 before 1.5.7"
  ]
 },
 "introduced_in": "1.0.4",
 "fixed_in": "1.5.7",
 "remediation": "Update to 1.5.7 or later.",
 "fix_released": "2026-10-11T14:49:39+00:00",
 "published": "2026-10-12T14:50:42+00:00",
 "updated": "2026-10-12T11:06:38.392149+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0803/",
  "https://plugins.svn.wordpress.org/hash-elements/tags/1.5.7/",
  "https://wordpress.org/plugins/hash-elements/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/hash-elements",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-10-12"
 }
}