{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-29116 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-29116 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-29116 is a medium-severity cross-site scripting vulnerability in Esri Arcgis Server, published on 7 Dec 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-2021-29116 and fix it if it is affected.\n\nWhat it is: CVE-2021-29116 is a medium-severity cross-site scripting vulnerability in Esri Arcgis Server, published on 7 Dec 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: There is no known exploitation of CVE-2021-29116 in the wild and no public exploit code.\n\nAffected product: Esri Arcgis Server. 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-29116/ (Markdown: https://insights.sbomify.com/CVE-2021-29116/index.md)","id":"CVE-2021-29116","markdown":"https://insights.sbomify.com/CVE-2021-29116/index.md","name":"CVE-2021-29116","record":{"aliases":["GHSA-g47m-f7f9-9p9x"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"ArcGIS Server","requires_auth":"none","summary":"Remote attackers can inject malicious JavaScript into hosted feature services, leading to arbitrary code execution in users' browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Esri","cpe":[{"product":"arcgis_server","vendor":"esri"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A stored Cross Site Scripting (XSS) vulnerability in Esri ArcGIS Server feature services versions 10.8.1 and 10.9 (only) feature services may allow a remote, unauthenticated attacker to pass and store malicious strings via crafted queries which when accessed could potentially execute arbitrary JavaScript code in the user’s browser.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"BUG-000142180 Hosted feature services vulnerable to stored XSS","id":"CVE-2021-29116","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"esri:arcgis_server","products":["esri:arcgis_server"],"type":"xss","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"arcreader use-after-free","id":"CVE-2021-29117"},"packages":[],"prev":{"headline":"An information disclosure vulnerability","id":"CVE-2021-29115"},"products":["ArcGIS Server"],"published":"2021-12-07","related":[{"cvss_score":10,"headline":"BUG-000179884 - There is a security vulnerability in ArcGIS Server Feature Services.","id":"CVE-2025-57870","kev_date_added":null,"published":"2025-10-22"},{"cvss_score":9.8,"headline":"Directory Traversal in ArcGIS Server","id":"CVE-2026-9181","kev_date_added":null,"published":"2026-07-06"},{"cvss_score":9.8,"headline":"Unvalidated File Upload vulnerability in ArcGIS Server.","id":"CVE-2026-9182","kev_date_added":null,"published":"2026-07-06"},{"cvss_score":9.8,"headline":"Server-side request forgery in n/a","id":"CVE-2020-35712","kev_date_added":null,"published":"2020-12-25"},{"cvss_score":9.1,"headline":"There is a Server-Side Request Forgery (SSRF) vulnerability in Esri ArcGIS Server Manager version 10.8.1 and below.","id":"CVE-2021-29102","kev_date_added":null,"published":"2021-07-11"},{"cvss_score":8.7,"headline":"SQL injection vulnerability in ArcGIS Server","id":"CVE-2024-51962","kev_date_added":null,"published":"2025-03-03"},{"cvss_score":8.5,"headline":"Unauthorized access to secure services in ArcGIS Server","id":"CVE-2024-51954","kev_date_added":null,"published":"2025-03-03"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-10","vendors":["Esri"]},"summary":"Remote attackers can inject malicious JavaScript into hosted feature services, leading to arbitrary code execution in users' browsers.","url":"https://insights.sbomify.com/CVE-2021-29116/"}