{"id":"CVE-2023-40985","details":"An issue was discovered in Webmin 2.100. The File Manager functionality allows an attacker to exploit a Cross-Site Scripting (XSS) vulnerability. By providing a malicious payload, an attacker can inject arbitrary code, which is then executed within the context of the victim's browser when any file is searched/replaced.","modified":"2026-08-12T03:51:43.018021420Z","published":"2023-09-15T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40985.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://github.com/Vi39/Webmin-2.100/blob/main/CVE-2023-40985"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40985.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40985"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/webmin/webmin","events":[{"introduced":"2d900e88c87b543180656aabcdce2104b83af6ad"},{"last_affected":"2d900e88c87b543180656aabcdce2104b83af6ad"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:webmin:webmin:2.100:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.100"},{"last_affected":"2.100"}]}}],"versions":["2.100"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-40985.json"}}],"schema_version":"1.9.0"}