Hash Elements <= 1.6.0 - Authenticated (Contributor+) Sensitive Information Exposure via Post Widgets 'posts_post_type' Setting
- ID
- WPSEC-2026-4256
- Plugin
- Hash Elements (hash-elements)
- Affected
- all versions 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:U/C:L/I:N/A:N
- Weakness
- CWE-200
- 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 Sensitive Information Exposure via the 'posts_post_type' (Source) setting of its News, Tile, Ticker, Carousel, Timeline and Blog widgets in all versions up to, and including, 1.6.0. This is due to the saved setting being passed directly to WP_Query without checking it against the public post types offered in the Source dropdown. This makes it possible for authenticated attackers, with contributor-level access and above, to list and display the titles and content of published entries of non-public post types, such as WooCommerce coupon codes.
References
- https://wpsec.com/vuln/WPSEC-2026-4256/
- https://plugins.svn.wordpress.org/hash-elements/tags/1.6.1/
- https://wordpress.org/plugins/hash-elements/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS