CVE-2022-25847: All versions of the package serve-lite are vulnerable to Cross-site Scripting (XSS) because when it detects a
CVE-2022-25847 is a medium-severity flaw (CVSS 5.4) affecting serve-lite. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.6% (top 52%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2023-01-26 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-25847?
serve-lite: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-25847 being exploited?
CVE-2022-25847 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-25847 affect?
CVE-2022-25847 affects serve-lite. Severity is medium (CVSS 5.4). 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
How urgent is CVE-2022-25847?
Priority 36/100. Public exploit reference
Related CVEs
- CVE-2022-21192 HIGH 7.5 MITIGATE All versions of the package serve-lite are vulnerable to Directory Traversal due to missing input sanitization