Vulnerabilities / Hash Elements / WPSEC-2026-4255

Hash Elements <= 1.6.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Isotope Markup Auto-Initialization

Medium 6.4 CWE-79Fixed in 1.6.1
ID
WPSEC-2026-4255
Plugin
Hash Elements (hash-elements)
Affected
from 1.0.4 before 1.6.1
Remediation
Update to 1.6.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-30
Attack surface
Hash Elements on WPSec AttackSurface
Fix released
Published

Description

The Hash Elements plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Isotope markup auto-initialization in versions 1.0.4 up to, and including, 1.6.0. This is due to the plugin loading the bundled Isotope library on every Elementor-rendered page with its markup auto-start left on. Any element carrying a data-isotope or data-isotope-options attribute, or the js-isotope class, is started with options read from that attribute, and an attacker-chosen 'filter' option is passed to jQuery's .is(), which can parse it as HTML. 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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0