GamiPress <= 7.9.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'heading_size' Shortcode Attribute
Description
The GamiPress – Gamification plugin to reward points, achievements, badges & ranks in WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'heading_size' Shortcode Attribute in all versions up to, and including, 7.9.9.1 due to insufficient input sanitization and output escaping. 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. The wp_kses_post filter applied at post save does not neutralize this payload because only the inert shortcode text is stored in post_content; the dangerous HTML is synthesized at render time by the shortcode handler, entirely bypassing save-time sanitization.
Affected products
1Patches
Vulnerability mechanics
References
7- plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.phpmitre
- plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.phpmitre
- plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.phpmitre
- plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.phpmitre
- plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/shortcodes/gamipress_points_types.phpmitre
- plugins.trac.wordpress.org/changesetmitre
- www.wordfence.com/threat-intel/vulnerabilities/id/dedd24e6-ac0c-48cd-a76a-8fb61d2c3c0fmitre
News mentions
0No linked articles in our index yet.