WordPress Plugin Vulnerabilities

GamiPress < 7.9.9.2 - 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.

Affects Plugins

Fixed in 7.9.9.2

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Wordfence PRISM
Verified
No

Timeline

Publicly Published
2026-07-27 (about 2 months ago)
Added
2026-07-27 (about 2 months ago)
Last Updated
2026-07-28 (about 2 months ago)

Other