{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-24308 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-24308 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-24308 is a medium-severity cross-site scripting vulnerability in LMS by LifterLMS – Online Course, Membership \u0026 Learning Management System Plugin for WordPress, published on 24 May 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-24308 and fix it if it is affected.\n\nWhat it is: CVE-2021-24308 is a medium-severity cross-site scripting vulnerability in LMS by LifterLMS – Online Course, Membership \u0026 Learning Management System Plugin for WordPress, published on 24 May 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-24308 in the wild and no public exploit code.\n\nAffected product: LMS by LifterLMS – Online Course, Membership \u0026 Learning Management System Plugin for WordPress. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-24308/ (Markdown: https://insights.sbomify.com/CVE-2021-24308/index.md)","id":"CVE-2021-24308","markdown":"https://insights.sbomify.com/CVE-2021-24308/index.md","name":"CVE-2021-24308","record":{"aliases":["GHSA-3mxr-2h37-xpjx"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["privilege_escalation","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress LMS plugin","requires_auth":"low_privilege","summary":"Low-privilege users can inject malicious scripts via the profile state field, potentially escalating privileges when admins view the profile.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"lifterlms","vendor":"lifterlms"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2021-05-28","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-05-28","kind":"exploitdb","ref":"49912","stars":null,"title":"WordPress Plugin LifterLMS 4.21.0 - Stored Cross-Site Scripting (XSS)"}],"tier":"poc_unverified"},"has_fix":false,"headline":"LifterLMS \u003c 4.21.1 - Authenticated Stored XSS in Edit Profile","id":"CVE-2021-24308","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2021"},"n_packages":0,"n_references":3,"next":{"headline":"Weekly Schedule \u003c 3.4.3 - Authenticated Stored XSS","id":"CVE-2021-24309"},"packages":[],"prev":{"headline":"All in One SEO Pack \u003c 4.1.0.2 - Admin RCE via unserialize","id":"CVE-2021-24307"},"products":["LMS by LifterLMS – Online Course, Membership \u0026 Learning Management System Plugin for WordPress"],"published":"2021-05-24","related":[{"cvss_score":9.8,"headline":"File upload in LifterLMS Wordpress Plugin","id":"CVE-2020-6008","kev_date_added":null,"published":"2020-03-31"},{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2019-15896","kev_date_added":null,"published":"2019-09-10"},{"cvss_score":9.3,"headline":"WordPress LifterLMS plugin \u003c= 8.0.6 - SQL Injection Vulnerability","id":"CVE-2025-52717","kev_date_added":null,"published":"2025-06-27"},{"cvss_score":8.8,"headline":"LifterLMS – WordPress LMS Plugin for eLearning \u003c= 7.6.2 - Authenticated (Contributor+) SQL Injection via Shortcode","id":"CVE-2024-4743","kev_date_added":null,"published":"2024-06-05"},{"cvss_score":7.5,"headline":"LifterLMS \u003c 4.21.2 - Access Other Student Grades/Answers via IDOR","id":"CVE-2021-24562","kev_date_added":null,"published":"2021-08-23"},{"cvss_score":7.2,"headline":"LifterLMS \u003c= 7.7.5 - Authenticated (Admin+) SQL Injection","id":"CVE-2024-7349","kev_date_added":null,"published":"2024-09-06"},{"cvss_score":6.1,"headline":"LifterLMS – WP LMS for eLearning, Online Courses, \u0026 Quizzes \u003c 8.0.1 - Reflected XSS","id":"CVE-2024-13619","kev_date_added":null,"published":"2025-05-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["LifterLMS"]},"summary":"Low-privilege users can inject malicious scripts via the profile state field, potentially escalating privileges when admins view the profile.","url":"https://insights.sbomify.com/CVE-2021-24308/"}