CVE-2024-52793 - CVE House
Back to Database
Status published Medium CVE-2024-52793

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

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-52793

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

std
Vulnerable Versions:
< 1.0.11

Timeline

Official Publish: November 22nd, 2024
Last Modified: November 26th, 2024
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)