Advisory

GHSA-j8x7-qcw4-xx85

Also known as: CVE-2022-25847

Summary

Cross-site Scripting (XSS) in serve-lite

Details

All versions of the package serve-lite are vulnerable to Cross-site Scripting (XSS) because when it detects a request to a directory, it renders a file listing of all of its contents with links that include the actual file names without any sanitization or output encoding.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-01-26 21:30 UTC
Modified
2025-04-01 22:56 UTC

Affected packages and fixes

serve-lite

npm · All systems

Affected

  • introduced 0, last affected 1.1.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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