Skip to content
OpenAdvisories
High GHSA-xw79-hhv6-578c

Cross-Site Scripting in serve

Published Sep 11, 2020 · Updated Sep 28, 2021 · Assigned by GHSA

Description

Versions of `serve` prior to 10.0.2 are vulnerable to Cross-Site Scripting (XSS). The package does not encode output, allowing attackers to execute arbitrary JavaScript in the victim's browser if user-supplied input is rendered.

## Recommendation

Upgrade to version 10.0.2 or later.

Affected packages

EcosystemPackageAffectedFixedRecord
npm serve < 10.0.2 10.0.2 GHSA-xw79-hhv6-578c

References