{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-15940 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-15940 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-15940 is a medium-severity cross-site scripting vulnerability in Fortinet FortiClientEMS, published on 2 Nov 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-15940 and fix it if it is affected.\n\nWhat it is: CVE-2020-15940 is a medium-severity cross-site scripting vulnerability in Fortinet FortiClientEMS, published on 2 Nov 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-15940 in the wild and no public exploit code.\n\nAffected product: Fortinet FortiClientEMS. 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-2020-15940/ (Markdown: https://insights.sbomify.com/CVE-2020-15940/index.md)","id":"CVE-2020-15940","markdown":"https://insights.sbomify.com/CVE-2020-15940/index.md","name":"CVE-2020-15940","record":{"aliases":["GHSA-4g23-3mc5-9qf9"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"FortiClient EMS","requires_auth":"low_privilege","summary":"Remote authenticated attackers can inject malicious scripts via the name parameter in FortiClient EMS, potentially leading to code execution or account takeover.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fortinet","cpe":[{"product":"forticlient_enterprise_management_server","vendor":"fortinet"}],"cvss":{"score":4.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N/E:F/RL:X/RC:X","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"An improper neutralization of input vulnerability [CWE-79] in FortiClientEMS versions 6.4.1 and below and 6.2.9 and below may allow a remote authenticated attacker to inject malicious script/tags via the name parameter of various sections of the server.","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":"Cross-site scripting in Fortinet FortiClientEMS","id":"CVE-2020-15940","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"Path traversal in Fortinet FortiClientEMS","id":"CVE-2020-15941"},"packages":[],"prev":{"headline":"Missing authorization in Fortinet FortiSandbox","id":"CVE-2020-15939"},"products":["Fortinet FortiClientEMS"],"published":"2021-11-02","related":[{"cvss_score":9.3,"headline":"Fortinet FortiClient EMS SQL Injection","id":"CVE-2023-48788","kev_date_added":"2024-03-25","published":"2024-03-12"},{"cvss_score":7.9,"headline":"Privilege escalation in FortiClientEMS","id":"CVE-2023-45581","kev_date_added":null,"published":"2024-02-15"},{"cvss_score":6.9,"headline":"Command injection in FortiClientEMS","id":"CVE-2024-33508","kev_date_added":null,"published":"2024-09-10"},{"cvss_score":6.8,"headline":"Information disclosure in Fortinet FortiClientEMS","id":"CVE-2021-36189","kev_date_added":null,"published":"2021-12-09"},{"cvss_score":5.4,"headline":"Auth bypass in Fortinet FortiClientEMS","id":"CVE-2021-41030","kev_date_added":null,"published":"2021-12-08"}],"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":"2024-10-25","vendors":["Fortinet"]},"summary":"Remote authenticated attackers can inject malicious scripts via the name parameter in FortiClient EMS, potentially leading to code execution or account takeover.","url":"https://insights.sbomify.com/CVE-2020-15940/"}