{
 "id": "WPSEC-2026-3558",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3558/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3558/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3558/index.md",
 "title": "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",
 "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.",
 "plugin": {
  "slug": "mycred",
  "name": "Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred",
  "full_name": "Points Management System For Gamification, Ranks, Badges, and Loyalty Rewards Program – myCred",
  "wordpress_org": "https://wordpress.org/plugins/mycred/",
  "advisories_url": "https://wpsec.com/vuln/plugin/mycred/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/mycred"
 },
 "type": "CONTENT INJECTION",
 "cwe": [
  "CWE-94"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.0.4",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.0.4"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.0.4",
 "remediation": "Update to 4.0.4 or later.",
 "fix_released": "2026-11-19T12:10:10+00:00",
 "published": "2026-11-20T12:50:17+00:00",
 "updated": "2026-11-20T08:33:25.629177+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3558/",
  "https://plugins.svn.wordpress.org/mycred/tags/4.0.4/",
  "https://wordpress.org/plugins/mycred/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/mycred",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-20"
 }
}