GamiPress <= 7.9.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'heading_size' Shortcode Attribute
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- rubengc GamiPress – Gamification plugin to reward points, achievements, badges & ranks in WordPress
through 7.9.9.1
References 7
plugins.trac.wordpress.org
- browser/gamipress/tags/7.9.8/includes/filters.php#L263
- browser/gamipress/tags/7.9.8/includes/filters.php#L390
- browser/gamipress/tags/7.9.8/includes/filters.php#L542
- browser/gamipress/tags/7.9.8/includes/filters.php#L1885
- browser/gamipress/tags/7.9.8/includes/shortcodes/gamipress_points_types.php#L212
- changeset?reponame=&old=3619577%40gamipress&new=3619577%40gamipress