{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.21.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "74bc6cf3f23c32814bc994ec22ce07b94d84b017"
            }
          ],
          "repo": "https://github.com/gocodebox/lifterlms",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The 'State' field of the Edit profile page of the LMS by LifterLMS – Online Course, Membership \u0026 Learning Management System Plugin for WordPress plugin before 4.21.1 is not properly sanitised when output in the About section of the profile page, leading to a stored Cross-Site Scripting issue. This could allow low privilege users (such as students) to elevate their privilege via an XSS attack when an admin will view their profile.",
  "id": "CVE-2021-24308",
  "modified": "2026-03-13T21:49:57.633411263Z",
  "published": "2021-05-24T11:15:08.387Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/gocodebox/lifterlms/releases/tag/4.21.1"
    },
    {
      "type": "EVIDENCE",
      "url": "http://packetstormsecurity.com/files/162856/WordPress-LifterLMS-4.21.0-Cross-Site-Scripting.html"
    },
    {
      "type": "EVIDENCE",
      "url": "https://wpscan.com/vulnerability/f29f68a5-6575-441d-98c9-867145f2b082"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}