Skip to content

CVE-2024-52793 XSS vulnerability in serveDir API of @std/http/file-server on POSIX systems

MediumCVSS 5.1 EPSS 0.61%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

The Deno Standard Library provides APIs for Deno and the Web. Prior to version 1.0.11, http/file-server's serveDir with showDirListing: true option is vulnerable to cross-site scripting when the attacker is a user who can control file names in the source directory on systems with POSIX file names. Exploitation might also be possible on other systems but less trivial due to e.g. lack of file name support for <> in Windows. Version 1.0.11 fixes the issue.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
denoland std = < 1.0.11 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
denoland std = < 1.0.11 No fix listed

References