{"answers":{"affected":"4 open source packages ship an affected version, including codechecker and codechecker-api. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-44217 in the wild and no public exploit code.","fix":"Upgrade codechecker to 6.18.2 or later.","what":"CVE-2021-44217 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 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-44217 and fix it if it is affected.\n\nWhat it is: CVE-2021-44217 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 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: There is no known exploitation of CVE-2021-44217 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- codechecker (PyPI): affected all versions; fixed in 6.18.2\n- codechecker (PyPI): affected all versions; fixed in 6.18.2\n- codechecker (PyPI): affected all versions; fixed in 6.18.2\n- codechecker-api (PyPI): affected all versions; no fix listed\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-44217/ (Markdown: https://insights.sbomify.com/CVE-2021-44217/index.md)","id":"CVE-2021-44217","markdown":"https://insights.sbomify.com/CVE-2021-44217/index.md","name":"CVE-2021-44217","record":{"aliases":["GHSA-fxmx-pfm2-85m2","PYSEC-2022-43181","PYSEC-2026-625"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"CodeChecker static analysis","requires_auth":"none","summary":"Remote attackers can inject arbitrary web script via stored XSS in the CodeChecker reports viewer comments component.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"codechecker","vendor":"ericsson"}],"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":"In Ericsson CodeChecker through 6.18.0, a Stored Cross-site scripting (XSS) vulnerability in the comments component of the reports viewer allows remote attackers to inject arbitrary web script or HTML via the POST JSON data of the /CodeCheckerService API.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2021-11-25","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-11-25T01:24:58Z","kind":"github_poc","ref":"https://github.com/Hyperkopite/CVE-2021-44217","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Cross-site Scripting in Ericsson CodeChecker","id":"CVE-2021-44217","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2021"},"n_packages":4,"n_references":5,"next":{"headline":"SQL injection in n/a","id":"CVE-2021-44219"},"packages":[{"ecosystem":"PyPI","fixed":["6.18.2"],"introduced":["0"],"last_affected":[],"package":"codechecker","purl":null,"source":"GHSA-fxmx-pfm2-85m2"},{"ecosystem":"PyPI","fixed":["6.18.2"],"introduced":["0"],"last_affected":[],"package":"codechecker","purl":"pkg:pypi/codechecker","source":"GHSA-fxmx-pfm2-85m2"},{"ecosystem":"PyPI","fixed":["6.18.2"],"introduced":["0"],"last_affected":[],"package":"codechecker","purl":"pkg:pypi/codechecker","source":"PYSEC-2026-625"},{"ecosystem":"PyPI","fixed":[],"introduced":[],"last_affected":[],"package":"codechecker-api","purl":"pkg:pypi/codechecker-api","source":"PYSEC-2022-43181"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2021-44216"},"products":["n/a"],"published":"2022-01-18","related":[{"cvss_score":10,"headline":"codechecker vulnerable to authentication bypass when using specifically crafted URLs","id":"CVE-2024-10081","kev_date_added":null,"published":"2024-11-06"},{"cvss_score":9.3,"headline":"Authentication bypass for certain API calls","id":"CVE-2026-25660","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":8.7,"headline":"codechecker authentication method confusion vulnerability allows logging in as the built-in root user from an external service","id":"CVE-2024-10082","kev_date_added":null,"published":"2024-11-06"},{"cvss_score":8.2,"headline":"Cross-Site Request Forgery in CodeChecker API","id":"CVE-2024-53829","kev_date_added":null,"published":"2025-01-21"},{"cvss_score":6.5,"headline":"Path traversal in `CodeChecker server` in the endpoint of `CodeChecker store`","id":"CVE-2023-49793","kev_date_added":null,"published":"2024-06-24"},{"cvss_score":6.1,"headline":"Open redirect in CodeChecker web server","id":"CVE-2025-1300","kev_date_added":null,"published":"2025-02-28"}],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Remote attackers can inject arbitrary web script via stored XSS in the CodeChecker reports viewer comments component.","url":"https://insights.sbomify.com/CVE-2021-44217/"}