{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-27665 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-27665 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Apr 2023. 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-2022-27665 and fix it if it is affected.\n\nWhat it is: CVE-2022-27665 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Apr 2023. 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-2022-27665 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2022-27665/ (Markdown: https://insights.sbomify.com/CVE-2022-27665/index.md)","id":"CVE-2022-27665","markdown":"https://insights.sbomify.com/CVE-2022-27665/index.md","name":"CVE-2022-27665","record":{"aliases":["GHSA-prxf-5xrr-96cp","openSUSE-SU-2024:12410-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"FTP server software","requires_auth":"none","summary":"Reflected XSS in WS_FTP Server allows attackers to execute malicious client-side code via crafted input in search or folder fields.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ws_ftp_server","vendor":"progress"}],"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":"Reflected XSS (via AngularJS sandbox escape expressions) exists in Progress Ipswitch WS_FTP Server 8.6.0. This can lead to execution of malicious code and commands on the client due to improper handling of user-provided input. By inputting malicious payloads in the subdirectory searchbar or Add folder filename boxes, it is possible to execute client-side commands. For example, there is Client-Side Template Injection via subFolderPath to the ThinClient/WtmApiService.asmx/GetFileSubTree URI.","ecosystems":["openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2022-03-23","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-03-23T14:20:58Z","kind":"github_poc","ref":"https://github.com/dievus/CVE-2022-27665","stars":0,"title":"Reflected XSS via AngularJS Sandbox Escape Expressions in IPSwitch WS_FTP Server 8.6.0"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Cross-site scripting in n/a","id":"CVE-2022-27665","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":1,"n_references":3,"next":{"headline":"Memory corruption in n/a","id":"CVE-2022-27666"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.35.3-1.1"],"introduced":["0"],"last_affected":[],"package":"dex-oidc","purl":"pkg:rpm/opensuse/dex-oidc\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12410-1"}],"prev":{"headline":"golang.org/x/net/http2 Denial of Service vulnerability","id":"CVE-2022-27664"},"products":["n/a"],"published":"2023-04-03","related":[{"cvss_score":10,"headline":"Progress WS_FTP Server Deserialization of Untrusted Data","id":"CVE-2023-40044","kev_date_added":"2023-10-05","published":"2023-09-27"},{"cvss_score":9.9,"headline":"WS_FTP Server Directory Traversal","id":"CVE-2023-42657","kev_date_added":null,"published":"2023-09-27"},{"cvss_score":9.1,"headline":"WS_FTP Server Arbitrary File Upload","id":"CVE-2023-42659","kev_date_added":null,"published":"2023-11-07"},{"cvss_score":9,"headline":"Memory corruption in n/a","id":"CVE-2008-0590","kev_date_added":null,"published":"2008-02-05"},{"cvss_score":8.3,"headline":"WS_FTP Server Ad Hoc Transfer Module Reflected Cross-Site Scripting Vulnerability","id":"CVE-2023-40045","kev_date_added":null,"published":"2023-09-27"},{"cvss_score":8.3,"headline":"WS_FTP Server Stored Cross-Site Scripting Vulnerability","id":"CVE-2023-40047","kev_date_added":null,"published":"2023-09-27"},{"cvss_score":8.2,"headline":"WS_FTP Server SQL Injection via Administrative Interface","id":"CVE-2023-40046","kev_date_added":null,"published":"2023-09-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-27","vendors":["n/a"]},"summary":"Reflected XSS in WS_FTP Server allows attackers to execute malicious client-side code via crafted input in search or folder fields.","url":"https://insights.sbomify.com/CVE-2022-27665/"}