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.
GamiPress <= 7.9.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'heading_size' Shortcode Attribute
Problem type
Affected products
rubengc
<= 7.9.9.1 - AFFECTED
References
https://www.wordfence.com/threat-intel/vulnerabilities/id/dedd24e6-ac0c-48cd-a76a-8fb61d2c3c0f?source=cve
https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.php#L263
https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.php#L390
https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.php#L542
https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.php#L1885
https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/shortcodes/gamipress_points_types.php#L212
https://plugins.trac.wordpress.org/changeset?reponame=&old=3619577%40gamipress&new=3619577%40gamipress
GitHub Security Advisories
GHSA-7p7j-cq8p-mmhq
The GamiPress – Gamification plugin to reward points, achievements, badges & ranks in WordPress...
https://github.com/advisories/GHSA-7p7j-cq8p-mmhqThe 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.
https://nvd.nist.gov/vuln/detail/CVE-2026-15730
https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.php#L1885
https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.php#L263
https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.php#L390
https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.php#L542
https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/shortcodes/gamipress_points_types.php#L212
https://plugins.trac.wordpress.org/changeset?reponame=&old=3619577%40gamipress&new=3619577%40gamipress
https://www.wordfence.com/threat-intel/vulnerabilities/id/dedd24e6-ac0c-48cd-a76a-8fb61d2c3c0f?source=cve
https://github.com/advisories/GHSA-7p7j-cq8p-mmhq
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-15730Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-15730",
"assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
"assignerShortName": "Wordfence",
"dateUpdated": "2026-07-28T13:30:26.477Z",
"dateReserved": "2026-07-14T13:36:55.591Z",
"datePublished": "2026-07-28T06:54:36.591Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
"shortName": "Wordfence",
"dateUpdated": "2026-07-28T06:54:36.591Z"
},
"title": "GamiPress <= 7.9.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'heading_size' Shortcode Attribute",
"descriptions": [
{
"lang": "en",
"value": "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": [
{
"vendor": "rubengc",
"product": "GamiPress – Gamification plugin to reward points, achievements, badges & ranks in WordPress",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0",
"status": "affected",
"versionType": "semver",
"lessThanOrEqual": "7.9.9.1"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
"cweId": "CWE-79",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/dedd24e6-ac0c-48cd-a76a-8fb61d2c3c0f?source=cve"
},
{
"url": "https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.php#L263"
},
{
"url": "https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.php#L390"
},
{
"url": "https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.php#L542"
},
{
"url": "https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/filters.php#L1885"
},
{
"url": "https://plugins.trac.wordpress.org/browser/gamipress/tags/7.9.8/includes/shortcodes/gamipress_points_types.php#L212"
},
{
"url": "https://plugins.trac.wordpress.org/changeset?reponame=&old=3619577%40gamipress&new=3619577%40gamipress"
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
"baseScore": 6.4,
"baseSeverity": "MEDIUM"
}
}
],
"timeline": [
{
"time": "2026-07-27T18:18:53.000Z",
"lang": "en",
"value": "Disclosed"
}
],
"credits": [
{
"lang": "en",
"value": "Wordfence PRISM",
"type": "finder"
}
]
},
"adp": [
{
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-28T13:30:26.477Z"
},
"title": "CISA ADP Vulnrichment",
"metrics": [
{}
]
}
]
}
}