{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-40047 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-40047 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-40047 is a high-severity cross-site scripting vulnerability in Progress Software Corporation WS_FTP Server, published on 27 Sep 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-2023-40047 and fix it if it is affected.\n\nWhat it is: CVE-2023-40047 is a high-severity cross-site scripting vulnerability in Progress Software Corporation WS_FTP Server, published on 27 Sep 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-2023-40047 in the wild and no public exploit code.\n\nAffected product: Progress Software Corporation WS_FTP 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-40047/ (Markdown: https://insights.sbomify.com/CVE-2023-40047/index.md)","id":"CVE-2023-40047","markdown":"https://insights.sbomify.com/CVE-2023-40047/index.md","name":"CVE-2023-40047","record":{"aliases":["GHSA-5829-ch6w-2w9q"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"WS_FTP Server","requires_auth":"none","summary":"An attacker with admin privileges can inject malicious JavaScript via SSL certificates, leading to code execution in other admins' browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ProgressSoftware","cpe":[{"product":"ws_ftp_server","vendor":"progress"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"In WS_FTP Server version prior to 8.8.2, a stored cross-site scripting (XSS) vulnerability exists in WS_FTP Server's Management module.  An attacker with administrative privileges could import a SSL certificate with malicious attributes containing cross-site scripting payloads.  Once the cross-site scripting payload is successfully stored,  an attacker could leverage this vulnerability to target WS_FTP Server admins with a specialized payload which results in the execution of malicious JavaScript within the context of the victims 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":"WS_FTP Server Stored Cross-Site Scripting Vulnerability","id":"CVE-2023-40047","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"WS_FTP Server Cross-Site Request Forgery (CSRF) Vulnerability","id":"CVE-2023-40048"},"packages":[],"prev":{"headline":"WS_FTP Server SQL Injection via Administrative Interface","id":"CVE-2023-40046"},"products":["WS_FTP Server"],"published":"2023-09-27","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.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":"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":"total"},"state":"PUBLISHED","updated":"2024-09-24","vendors":["Progress Software Corporation"]},"summary":"An attacker with admin privileges can inject malicious JavaScript via SSL certificates, leading to code execution in other admins' browsers.","url":"https://insights.sbomify.com/CVE-2023-40047/"}