{"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-08-12T03:51:35.719070297Z","published":"2023-07-31T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38305.json"},"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":{"cpe":"cpe:2.3:a:webmin:webmin:2.021:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.021"},{"last_affected":"2.021"}],"source":"CPE_STRING"}}],"versions":["2.021"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-38305.json"}}],"schema_version":"1.9.0"}