{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24964 exists.","fix":"No fix has been published for CVE-2021-24964 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-24964 is a medium-severity cross-site scripting vulnerability in Unknown LiteSpeed Cache, published on 3 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-24964 and fix it if it is affected.\n\nWhat it is: CVE-2021-24964 is a medium-severity cross-site scripting vulnerability in Unknown LiteSpeed Cache, published on 3 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24964 exists.\n\nAffected product: Unknown LiteSpeed Cache. 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-24964/ (Markdown: https://insights.sbomify.com/CVE-2021-24964/index.md)","id":"CVE-2021-24964","markdown":"https://insights.sbomify.com/CVE-2021-24964/index.md","name":"CVE-2021-24964","record":{"aliases":["GHSA-fg4h-vrcg-56rq"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can inject malicious scripts via stored XSS in the LiteSpeed Cache plugin when specific settings are enabled, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"litespeed_cache","vendor":"litespeedtech"}],"cvss":{"score":6.1,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/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 LiteSpeed Cache WordPress plugin before 4.4.4 does not properly verify that requests are coming from QUIC.cloud servers, allowing attackers to make requests to certain endpoints by using a specific X-Forwarded-For header value. In addition, one of the endpoint could be used to set CSS code if a setting is enabled, which will then be output in some pages without being sanitised and escaped. Combining those two issues, an unauthenticated attacker could put Cross-Site Scripting payloads in pages visited by users.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"LiteSpeed Cache \u003c 4.4.4 - IP Check Bypass to Unauthenticated Stored XSS","id":"CVE-2021-24964","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Five Star Restaurant Reservations \u003c 2.4.8 - Subscriber+ Stored Cross-Site Scripting","id":"CVE-2021-24965"},"packages":[],"prev":{"headline":"LiteSpeed Cache \u003c 4.4.4 - Admin+ Reflected Cross-Site Scripting","id":"CVE-2021-24963"},"products":["LiteSpeed Cache"],"published":"2022-01-03","related":[{"cvss_score":9.8,"headline":"WordPress LiteSpeed Cache plugin \u003c 6.5.0.1 - Unauthenticated Account Takeover via Cookie Leak vulnerability","id":"CVE-2024-44000","kev_date_added":null,"published":"2024-10-20"},{"cvss_score":9.8,"headline":"WordPress LiteSpeed Cache plugin \u003c= 6.3.0.1 - Unauthenticated Privilege Escalation vulnerability","id":"CVE-2024-28000","kev_date_added":null,"published":"2024-08-21"},{"cvss_score":8.8,"headline":"WordPress LiteSpeed Cache plugin \u003c= 6.4.1 - Path Traversal vulnerability","id":"CVE-2024-47637","kev_date_added":null,"published":"2024-10-16"},{"cvss_score":8.3,"headline":"WordPress LiteSpeed Cache plugin \u003c= 5.7 - Unauthenticated Site Wide Stored XSS vulnerability","id":"CVE-2023-40000","kev_date_added":null,"published":"2024-04-16"},{"cvss_score":8.2,"headline":"WordPress LiteSpeed Cache plugin \u003c= 5.7 - Unauthenticated Broken Access Control on API vulnerability","id":"CVE-2023-45000","kev_date_added":null,"published":"2024-04-16"},{"cvss_score":8.1,"headline":"WordPress LiteSpeed Cache plugin \u003c= 6.5.1 - Privilege Escalation vulnerability","id":"CVE-2024-50550","kev_date_added":null,"published":"2024-10-29"},{"cvss_score":7.1,"headline":"WordPress LiteSpeed Cache plugin \u003c= 6.5.0.2 - Cross Site Scripting (XSS) vulnerability","id":"CVE-2024-47374","kev_date_added":null,"published":"2024-10-05"}],"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-22","vendors":["Unknown"]},"summary":"Unauthenticated attackers can inject malicious scripts via stored XSS in the LiteSpeed Cache plugin when specific settings are enabled, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2021-24964/"}