Read the docs
TI-2020-19995 Aliases GHSA-cpgr-wmr9-qxv4

Cross-Site Scripting in serve

Priority LOW 38CWE-79Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Cross-site scripting
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.

Summary

Versions of `serve` prior to 10.0.2 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize filenames, allowing attackers to execute arbitrary JavaScript in the victim's browser through files with names containing malicious code. ## Recommendation Upgrade to version 10.0.2 or later.

Why it matters now

Fix Fixed serve (npm): 10.0.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—serve (npm)before 10.0.210.0.2Patch availableGHSA-cpgr-wmr9-qxv4
  • serve (npm) Vendor— Affected before 10.0.2 Fixed in 10.0.2 Patch available GHSA-cpgr-wmr9-qxv4

Remediation

  • Fix · GHSA-cpgr-wmr9-qxv4 serve (npm) Fixed in 10.0.2 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-cpgr-wmr9-qxv4

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences