CVE-2022-25940 json
Denial of Service (DoS)
published 3y ago modified 4mo ago also GHSA-89w7-5q45-r53w , EUVD-2022-7561
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Is CVE-2022-25940 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.23% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-LITESERVER-3153540 referenced PoC, tagged "exploit" by a source, unverified
- security.snyk.io https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3175617 referenced PoC, tagged "exploit" by a source, unverified
- gist.github.com https://gist.github.com/lirantal/832382155e00da92bfd8bb3adea474eb referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | lite-server | <=2.6.1 |
no fix listed |
| maven | org.webjars.npm:lite-server | <=2.2.0 |
no fix listed |
Affected products
- n/a lite-server
Classification
References
-
security.snyk.io
/vuln/SNYK-JS-LITESERVER-3153540
web, exploit, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-3175617
web, exploit, third-party-advisory
-
gist.github.com
/lirantal/832382155e00da92bfd8bb3adea474eb
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-25940
advisory
-
github.com
/johnpapa/lite-server
package
Sources
- CVE List CVE-2022-25940
- GitHub Advisory GHSA-89w7-5q45-r53w
- NVD CVE-2022-25940
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.