WordPress security changelog
MEDIUM CVE-2026-15730 Deferred

GamiPress contributors can inject script through a shortcode heading

GamiPress through 7.9.9.1 does not validate the heading_size attribute handled by gamipress_points_types_shortcode(). A Contributor can store a crafted [gamipress_points_types] shortcode whose inert text survives WordPress save-time filtering; GamiPress then uses heading_size while generating HTML at render time, producing executable markup for visitors to the page. The CNA record does not disclose the downstream template function that emits the heading. Version 7.9.9.2 applies gamipress_sanitize_title_size_option() to heading_size before rendering.

CVE / CNA score 6.4 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
GamiPress – Gamification plugin to reward points, achievements, badges & ranks in WordPress
Plugin slug
gamipress
Affected
<= 7.9.9.1
Safe version
7.9.9.2
Published
Jul 28, 2026
Weakness
CWE-79 — Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

This CVE was published Jul 28, 2026 and is one of 21 known issues for this plugin.

Update, patch or deactivate.

Update GamiPress to 7.9.9.2 or later. Review Contributor-authored content and revisions for unusual heading_size values in [gamipress_points_types] shortcodes, and investigate privileged users who viewed affected pages.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary and upstream sources