{"id":"CVE-2023-38305","details":"An issue was discovered in Webmin 2.021. The download functionality allows an attacker to exploit a Cross-Site Scripting (XSS) vulnerability. By providing a crafted download path containing a malicious payload, an attacker can inject arbitrary code, which is then executed within the context of the victim's browser when the download link is accessed.","modified":"2026-10-28T02:30:26.072299889Z","published":"2023-07-31T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38305.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://github.com/jaysharma786/Webmin-2.021/blob/main/CVE-2023-38305"},{"type":"WEB","url":"https://webmin.com/tags/webmin-changelog/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38305.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38305"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/webmin/webmin","events":[{"introduced":"43159eef0c13dbae3f238dd60a2ab35920f886be"},{"last_affected":"43159eef0c13dbae3f238dd60a2ab35920f886be"}],"database_specific":{"extracted_events":[{"source":"CPE_STRING","cpe":"cpe:2.3:a:webmin:webmin:2.021:*:*:*:*:*:*:*","range":[{"introduced":"2.021"},{"last_affected":"2.021"}]}]}}],"versions":["2.021"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-38305.json"}}],"schema_version":"1.9.2"}