Affected versions
- Affected versions
- <=4.0.2
- Fixed version
- 4.0.3
Exploitation
Description
The Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred plugin for WordPress is vulnerable to Content Injection in all versions up to, and including, 4.0.2. This is due to missing sanitization and user ID resolution of the user GET parameter before it was passed directly into wp_localize_script output as initialUser and initialUserName. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary content into the logs page via the user GET parameter, which is embedded in JavaScript-localized script data rendered for all users viewing the logs. The attacker must have access to the myCred logs admin page URL.
Links
Credits
- neurotx

