Description
The Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'key' parameter in all versions up to, and including, 4.0.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the Link Clicks hook to be enabled and that the attacker, as a Subscriber-level user, can access any front-end page rendering the [mycred_link] shortcode, which localizes the nonce needed to reach the AJAX endpoint.
Severity (CVSS)
| Base score | 6.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
| Vendor | Product | Versions |
|---|---|---|
| saadiqbal | Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred | 0 to <=4.0.3 [affected] |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a21d69b4-7ba9-4f2b-8874-4bf309380c95?source=cve
- https://plugins.trac.wordpress.org/browser/mycred/tags/4.0.3/src/pages/Logs/LogsTable.js#L243
- https://plugins.trac.wordpress.org/browser/mycred/tags/4.0.3/includes/classes/class.mycred-rest-logs.php#L120
- https://plugins.trac.wordpress.org/browser/mycred/tags/4.0.3/includes/hooks/mycred-hook-link-clicks.php#L70
- https://plugins.trac.wordpress.org/browser/mycred/tags/4.0.3/includes/hooks/mycred-hook-link-clicks.php#L203
- https://plugins.trac.wordpress.org/browser/mycred/tags/4.0.3/includes/mycred-protect.php#L158
- https://plugins.trac.wordpress.org/browser/mycred/tags/4.0.4/src/pages/Logs/LogsTable.js
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 27 Nov 2026 08:01 UTC.