GitHub Advisory Database
GHSA-v9p9-535w-4285
Prototype Pollution in litespeed.js and appwrite/server-ce
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | litespeed.js | All versions before 0.3.12 (fixed in 0.3.12) |
| Packagist | appwrite/server-ce | From 0.12.0 before 0.12.2 (fixed in 0.12.2) |
| Packagist | appwrite/server-ce | All versions before 0.11.1 (fixed in 0.11.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23682
- https://github.com/appwrite/appwrite/pull/2778
- https://github.com/litespeed-js/litespeed.js/pull/18
- https://github.com/appwrite/appwrite/releases/tag/0.11.1
- https://github.com/appwrite/appwrite/releases/tag/0.12.2
- https://snyk.io/vuln/SNYK-JS-LITESPEEDJS-2359250
- https://snyk.io/vuln/SNYK-PHP-APPWRITESERVERCE-2401820