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.
Published: 2026-07-28
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The GamiPress plugin for WordPress contains a stored cross‑site scripting vulnerability in the "heading_size" shortcode attribute. The plugin does not sanitize or escape the value of this attribute before it is rendered, allowing an attacker with contributor‑level or higher permissions to inject arbitrary JavaScript into post content. When a user views a page that contains the malicious shortcode, the injected script executes in the victim’s browser, which can lead to session hijacking, defacement, or redirection to malicious sites. The vulnerability is a classic input validation weakness classified as CWE‑79.

Affected Systems

The vulnerability is present in all releases of the GamiPress plugin up to and including version 7.9.9.1. Users running any of these versions on a WordPress site are affected; the plugin is distributed under the rubengc vendor name "GamiPress – Gamification plugin to reward points, achievements, badges & ranks".

Risk and Exploitability

With a CVSS score of 6.4 the issue is considered moderately severe, and the EPSS score of less than 1% indicates a low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. An attacker must first authenticate with at least contributor privileges and then insert malicious code into the shortcode attribute when editing or creating a post. Because the plugin reconstructs the dangerous HTML at render time, sanitization performed on save time is bypassed, allowing the stored payload to persist indefinitely.

Generated by OpenCVE AI on August 3, 2026 at 15:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade GamiPress to the latest stable release that contains the fixed source code.
  • Revoke or reduce contributor and other editorial roles that are not required for normal site operation so that only administrators can edit posts containing the vulnerable shortcode.
  • Apply a site‑wide Content Security Policy that disallows inline scripts or otherwise blocks execution of injected JavaScript.

Generated by OpenCVE AI on August 3, 2026 at 15:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 28 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Rubengc
Rubengc gamipress – Gamification Plugin To Reward Points, Achievements, Badges & Ranks In Wordpress
Wordpress
Wordpress wordpress
Vendors & Products Rubengc
Rubengc gamipress – Gamification Plugin To Reward Points, Achievements, Badges & Ranks In Wordpress
Wordpress
Wordpress wordpress

Tue, 28 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
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.
Title GamiPress <= 7.9.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'heading_size' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Rubengc Gamipress – Gamification Plugin To Reward Points, Achievements, Badges & Ranks In Wordpress
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-28T13:30:26.477Z

Reserved: 2026-07-14T13:36:55.591Z

Link: CVE-2026-15730

cve-icon Vulnrichment

Updated: 2026-07-28T13:30:21.254Z

cve-icon NVD

Status : Deferred

Published: 2026-07-28T08:17:15.230

Modified: 2026-07-28T16:07:15.840

Link: CVE-2026-15730

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T15:30:03Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')