CVE-2024-32966: static-web-server vulnerable to stored Cross-site Scripting in directory listings via file names
If directory listings are enabled for a directory that an untrusted user has upload privileges for, a malicious file name like <img src=x onerror=alert(1)>.txt
will allow JavaScript code execution in the context of the web server’s domain.
References
Detect and mitigate CVE-2024-32966 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →