CVE-2021-23682 json
Prototype Pollution
published 2022-02-16 4 y ago modified 2026-06-17 4 mo ago also GHSA-v9p9-535w-4285 , EUVD-2022-1199
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
This affects the package litespeed.js before 0.3.12; the package appwrite/server-ce from 0.12.0 and before 0.12.2, before 0.11.1. When parsing the query string in the getJsonFromUrl function, the key that is set in the result object is not properly sanitized leading to a Prototype Pollution vulnerability.
Patch / fix
- npm litespeed.js 0.3.12
- packagist appwrite/server-ce 0.11.1, 0.12.2
- n/a litespeed.js 0.3.12
- n/a appwrite/server-ce 0.11.1, 0.12.2
- github.com/litespeed-js/litespeed.js#18 pull request
- github.com/appwrite/appwrite#2778 pull request
- github.com/appwrite/appwrite/releases/tag/0.12.2 release
- github.com/appwrite/appwrite/releases/tag/0.11.1 release
Exploit prediction
2.12% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | litespeed.js | <0.3.12 |
0.3.12 |
| packagist | appwrite/server-ce | >=0.12.0, <0.12.2 <0.11.1 |
0.12.2 0.11.1 |
Affected products
- n/a litespeed.js
- n/a appwrite/server-ce
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/litespeed-js/litespeed.js/pull/18
web, patch, third-party-advisory
-
github.com
/appwrite/appwrite/pull/2778
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-LITESPEEDJS-2359250
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-PHP-APPWRITESERVERCE-2401820
web, exploit, third-party-advisory
-
github.com
/appwrite/appwrite/releases/tag/0.12.2
web, release-notes, third-party-advisory
-
github.com
/appwrite/appwrite/releases/tag/0.11.1
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23682
advisory
Sources
- CVE List CVE-2021-23682
- GitHub Advisory GHSA-v9p9-535w-4285
- NVD CVE-2021-23682
Fencer Vulns 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.