{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-25840 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-25840 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-25840 is a low-severity cross-site scripting vulnerability in Esri Arcgis Server, published on 21 Jul 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-25840 and fix it if it is affected.\n\nWhat it is: CVE-2023-25840 is a low-severity cross-site scripting vulnerability in Esri Arcgis Server, published on 21 Jul 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-25840 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-2023-25840/ (Markdown: https://insights.sbomify.com/CVE-2023-25840/index.md)","id":"CVE-2023-25840","markdown":"https://insights.sbomify.com/CVE-2023-25840/index.md","name":"CVE-2023-25840","record":{"aliases":["GHSA-wp7f-xph3-r8ph"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"ArcGIS Enterprise Server","requires_auth":"high_privilege","summary":"A remote authenticated attacker can inject scripts into the ArcGIS REST Services directory, potentially rendering malicious images in victim browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Esri","cpe":[{"product":"arcgis_server","vendor":"esri"}],"cvss":{"score":3.4,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"There is a Cross-site Scripting vulnerability in ArcGIS Server in versions 11.1 and below that may allow a remote, authenticated attacker to create a crafted link which onmouseover wont execute but could potentially render an image in the victims browser.  The privileges required to execute this attack are high.","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-000154070 Stored XSS issue in the ArcGIS REST Services directory","id":"CVE-2023-25840","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"esri:arcgis_server","products":["esri:arcgis_server"],"type":"xss","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"BUG-000158075 Stored XSS issue in ArcGIS Server","id":"CVE-2023-25841"},"packages":[],"prev":{"headline":"BUG-000157278 – ArcGIS Insights has a security vulnerability - desktop","id":"CVE-2023-25839"},"products":["ArcGIS Enterprise Server"],"published":"2023-07-21","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-04-10","vendors":["Esri"]},"summary":"A remote authenticated attacker can inject scripts into the ArcGIS REST Services directory, potentially rendering malicious images in victim browsers.","url":"https://insights.sbomify.com/CVE-2023-25840/"}