Medium severity5.4NVD Advisory· Published Jan 26, 2023· Updated Jun 17, 2026
CVE-2022-25847
CVE-2022-25847
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
serve-litenpm | <= 1.1.0 | — |
Affected products
3- cpe:2.3:a:serve-lite_project:serve-lite:*:*:*:*:*:node.js:*:*
- serve-lite/serve-litedescription
Patches
Vulnerability mechanics
References
4- gist.github.com/lirantal/52debd25284726fcc2eaed9c7512975cnvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-j8x7-qcw4-xx85ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-25847ghsaADVISORY
- security.snyk.io/vuln/SNYK-JS-SERVELITE-3149915nvdThird Party AdvisoryWEB
News mentions
0No linked articles in our index yet.