PT-2024-30668 · Unknown+1 · Statics-Server+1

Adamkorcz

·

Published

2024-09-10

·

Updated

2024-09-20

·

CVE-2024-43800

CVSS v3.1

5.0

Medium

VectorAV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions serve-static versions prior to 1.16.0
Description The issue allows execution of untrusted code by passing untrusted user input to the redirect() function, even after sanitizing it. This can be exploited if an attacker controls the input to response.redirect(), express does not redirect before the template appears, and the browser does not complete redirection before the user clicks on the link in the template.
Recommendations For versions prior to 1.16.0, upgrade to serve-static 1.16.0 to patch the issue. As a temporary workaround, ensure any untrusted inputs are safe by validating them against an explicit allowlist.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-49094
AZL-49147
AZL-49155
CVE-2024-43800
GHSA-CM22-4G7W-348P

Affected Products

Debian
Statics-Server