Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred <= 4.0.3 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via Display Name in Leaderboard

Medium 5.4 CWE-94Fixed in 4.0.4
ID
WPSEC-2026-3558
Plugin
Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred (mycred)
Affected
all versions before 4.0.4
Remediation
Update to 4.0.4 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness
CWE-94
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-20
Attack surface
Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred on WPSec AttackSurface
Fix released
Published

Description

The myCred plugin for WordPress is vulnerable to arbitrary shortcode execution via the mycred_leaderboard and users-of-rank shortcodes in all versions up to, and including, 4.0.3, due to the rendered output, including user display names, nicknames and logins, being passed through do_shortcode(). This makes it possible for authenticated attackers, with Subscriber-level access and above, to place shortcodes in their display name that are executed whenever a leaderboard listing them is viewed.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0