{"answers":{"affected":"4 open source packages ship an affected version, including com.alibaba.nacos:nacos-common. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-44667 in the wild and no public exploit code.","fix":"Upgrade com.alibaba.nacos:nacos-common to a fixed version for your release line: 1.4.5 or 2.1.0-BETA.","what":"CVE-2021-44667 is a medium-severity cross-site scripting vulnerability in n/a, published on 11 Mar 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-44667 and fix it if it is affected.\n\nWhat it is: CVE-2021-44667 is a medium-severity cross-site scripting vulnerability in n/a, published on 11 Mar 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-44667 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.alibaba.nacos:nacos-common (Maven): affected all versions; fixed in 1.4.5\n- com.alibaba.nacos:nacos-common (Maven): affected all versions; fixed in 1.4.5\n- com.alibaba.nacos:nacos-common (Maven): affected from 2.0.0-ALPHA.1; fixed in 2.1.0-BETA\n- com.alibaba.nacos:nacos-common (Maven): affected from 2.0.0-ALPHA.1; fixed in 2.1.0-BETA\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-44667/ (Markdown: https://insights.sbomify.com/CVE-2021-44667/index.md)","id":"CVE-2021-44667","markdown":"https://insights.sbomify.com/CVE-2021-44667/index.md","name":"CVE-2021-44667","record":{"aliases":["GHSA-4gr7-qw2q-jxh6"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Nacos service registry","requires_auth":"none","summary":"An attacker can inject malicious scripts via pageSize and pageNo parameters in Nacos auth/users, potentially leading to session hijacking or code execution.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"nacos","vendor":"alibaba"}],"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 Cross Site Scripting (XSS) vulnerability exists in Nacos 2.0.3 in auth/users via the (1) pageSize and (2) pageNo parameters.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-08-16","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-08-16T10:40:59Z","kind":"github_poc","ref":"https://github.com/shoucheng3/alibaba__nacos_CVE-2021-44667_2-0-3","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Cross-site Scripting in Nacos","id":"CVE-2021-44667","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2021"},"n_packages":4,"n_references":1,"next":{"headline":"Unrestricted Upload of File with Dangerous Type in Croogo","id":"CVE-2021-44673"},"packages":[{"ecosystem":"Maven","fixed":["1.4.5"],"introduced":["0"],"last_affected":[],"package":"com.alibaba.nacos:nacos-common","purl":null,"source":"GHSA-4gr7-qw2q-jxh6"},{"ecosystem":"Maven","fixed":["1.4.5"],"introduced":["0"],"last_affected":[],"package":"com.alibaba.nacos:nacos-common","purl":"pkg:maven/com.alibaba.nacos/nacos-common","source":"GHSA-4gr7-qw2q-jxh6"},{"ecosystem":"Maven","fixed":["2.1.0-BETA"],"introduced":["2.0.0-ALPHA.1"],"last_affected":[],"package":"com.alibaba.nacos:nacos-common","purl":null,"source":"GHSA-4gr7-qw2q-jxh6"},{"ecosystem":"Maven","fixed":["2.1.0-BETA"],"introduced":["2.0.0-ALPHA.1"],"last_affected":[],"package":"com.alibaba.nacos:nacos-common","purl":"pkg:maven/com.alibaba.nacos/nacos-common","source":"GHSA-4gr7-qw2q-jxh6"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2021-44665"},"products":["n/a"],"published":"2022-03-11","related":[{"cvss_score":8.8,"headline":"Use of Hard-coded Credentials in Nacos","id":"CVE-2021-43116","kev_date_added":null,"published":"2022-07-05"},{"cvss_score":8.6,"headline":"Authentication bypass","id":"CVE-2021-29441","kev_date_added":null,"published":"2021-04-27"},{"cvss_score":8.6,"headline":"Authentication bypass","id":"CVE-2021-29442","kev_date_added":null,"published":"2021-04-27"},{"cvss_score":5.3,"headline":"Incorrect Access Control in Nacos","id":"CVE-2020-19676","kev_date_added":null,"published":"2020-09-30"}],"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":"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":"An attacker can inject malicious scripts via pageSize and pageNo parameters in Nacos auth/users, potentially leading to session hijacking or code execution.","url":"https://insights.sbomify.com/CVE-2021-44667/"}