{"answers":{"affected":"2 open source packages ship an affected version, including qcubed/qcubed. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-24912 exists.","fix":"Upgrade qcubed/qcubed to 3.2 or later.","what":"CVE-2020-24912 is a medium-severity cross-site scripting vulnerability in n/a, published on 4 Mar 2021. 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-2020-24912 and fix it if it is affected.\n\nWhat it is: CVE-2020-24912 is a medium-severity cross-site scripting vulnerability in n/a, published on 4 Mar 2021. 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-2020-24912 exists.\n\nAffected packages and fixed versions:\n- qcubed/qcubed (Packagist): affected all versions; fixed in 3.2\n- qcubed/qcubed (Packagist): affected all versions; fixed in 3.2\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-2020-24912/ (Markdown: https://insights.sbomify.com/CVE-2020-24912/index.md)","id":"CVE-2020-24912","markdown":"https://insights.sbomify.com/CVE-2020-24912/index.md","name":"CVE-2020-24912","record":{"aliases":["GHSA-xj4v-gp4q-h6qq"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"qcubed web framework","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary scripts in victim browsers via profile.php to steal session cookies and take over accounts.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"qcubed","vendor":"qcubed"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","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":"A reflected cross-site scripting (XSS) vulnerability in qcubed (all versions including 3.1.1) in profile.php via the stQuery-parameter allows unauthenticated attackers to steal sessions of authenticated users.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-24912.yaml","stars":null,"title":"QCube Cross-Site-Scripting"}],"tier":"weaponised"},"has_fix":true,"headline":"qcubed reflected cross-site scripting (XSS) vulnerability","id":"CVE-2020-24912","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2020"},"n_packages":2,"n_references":4,"next":{"headline":"qcubed SQL injection vulnerability in profile.php via the strQuery parameter","id":"CVE-2020-24913"},"packages":[{"ecosystem":"Packagist","fixed":["3.2"],"introduced":["0"],"last_affected":[],"package":"qcubed/qcubed","purl":null,"source":"GHSA-xj4v-gp4q-h6qq"},{"ecosystem":"Packagist","fixed":["3.2"],"introduced":["0"],"last_affected":[],"package":"qcubed/qcubed","purl":"pkg:composer/qcubed/qcubed","source":"GHSA-xj4v-gp4q-h6qq"}],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2020-24908"},"products":["n/a"],"published":"2021-03-04","related":[{"cvss_score":9.8,"headline":"qcubed SQL injection vulnerability in profile.php via the strQuery parameter","id":"CVE-2020-24913","kev_date_added":null,"published":"2021-03-04"},{"cvss_score":9.8,"headline":"qcubed PHP object injection","id":"CVE-2020-24914","kev_date_added":null,"published":"2021-03-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-07-09","vendors":["n/a"]},"summary":"Unauthenticated attackers can execute arbitrary scripts in victim browsers via profile.php to steal session cookies and take over accounts.","url":"https://insights.sbomify.com/CVE-2020-24912/"}