Advisory

GHSA-xw79-hhv6-578c

Also known as: None

Summary

Cross-Site Scripting in serve

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-11 21:16 UTC
Modified
2021-09-28 16:54 UTC

Affected packages and fixes

serve

npm · All systems

Affected

  • introduced 0, fixed 10.0.2 (semver)

Fixed versions

10.0.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences