Security mailing lists by PureSourceCode

CVE-2022-25847

MEDIUM 6.1CVSS 3.1

Cross-site Scripting (XSS) in serve-lite

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.

Published
26 Jan 2023
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-j8x7-qcw4-xx85
Sources
NVDJSONOSV GHSA-j8x7-qcw4-xx85JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD serve-lite_project serve-lite
cpe:2.3:a:serve-lite_project:serve-lite:*:*:*:*:*:node.js:*:*
all versions
OSV npm serve-lite <= 1.1.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 26 Jan 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Jan 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.