Junglewise Threat Intelligence

CVE-2026-17149: WordPress myCred Stored XSS in shortcode wrapper attribute

CVE-2026-17149 · Severity: medium · CVSS 6.4 · Published 2026-09-09

Technologies: myCred. Vendors: myCred.

Executive brief

myCred is a WordPress plugin that manages gamification and loyalty rewards for websites. The plugin fails to properly sanitize user input in shortcode attributes, allowing authenticated users with contributor-level access to inject malicious JavaScript code into pages. When other users visit affected pages, the injected script executes in their browsers, potentially enabling account hijacking, credential theft, or unauthorized actions performed on behalf of victims.

Technical details

A Stored Cross-Site Scripting (XSS) vulnerability exists in the myCred plugin due to insufficient input sanitization and output escaping of the 'wrapper' shortcode attribute. The vulnerability affects all versions up to and including 3.2.4. An authenticated attacker with contributor-level access or above can inject arbitrary JavaScript into the 'wrapper' parameter of a shortcode, which is then stored in the database and executed in the browsers of all users who view the affected page. No user interaction is required beyond visiting the compromised page. The vulnerability allows attackers to execute client-side attacks such as session hijacking, credential theft, or malware distribution.

Affected products

  • myCred myCred up to and including 3.2.4

Timeline

  • 2026-09-09: disclosed: Vulnerability disclosed publicly

References

Related threats