{"id":"CVE-2021-23682","aliases":["CVE-2021-23682","GHSA-v9p9-535w-4285"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Esto afecta al paquete litespeed.js versiones anteriores a 0.3.12; al paquete appwrite/server-ce desde versión 0.12.0 y anteriores a 0.12.2, anteriores a 0.11.1. Cuando es analizada la cadena de consulta en la función getJsonFromUrl, la clave que es establecida en el objeto resultante no es saneada apropiadamente, conllevando a una vulnerabilidad de Contaminación de Prototipos","source":"nvd"}],"published":"2022-02-16T17:05:26.116Z","modified":"2026-06-17T03:38:51.670Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.3.12","status":"affected"}],"product":"litespeed.js","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0.12.0","fixed":"unspecified","status":"affected"},{"type":"custom","introduced":"unspecified","fixed":"0.12.2","status":"affected"},{"type":"custom","introduced":"unspecified","fixed":"0.11.1","status":"affected"}],"product":"appwrite/server-ce","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.12"}],"ecosystem":"npm","package":"litespeed.js","purl":"pkg:npm/litespeed.js","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.12.0","status":"affected","fixed":"0.12.2"}],"ecosystem":"Packagist","package":"appwrite/server-ce","purl":"pkg:composer/appwrite/server-ce","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.11.1"}],"ecosystem":"Packagist","package":"appwrite/server-ce","purl":"pkg:composer/appwrite/server-ce","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.11.1"},{"status":"affected","introduced":"0.12.0","fixed":"0.12.2"}],"vendor":"appwrite","product":"appwrite","cpe":"cpe:2.3:a:appwrite:appwrite:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"0.3.12"}],"vendor":"litespeed.js_project","product":"litespeed.js","cpe":"cpe:2.3:a:litespeed.js_project:litespeed.js:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-LITESPEEDJS-2359250","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-PHP-APPWRITESERVERCE-2401820","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/litespeed-js/litespeed.js/pull/18","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/appwrite/appwrite/releases/tag/0.12.2","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/appwrite/appwrite/pull/2778","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/appwrite/appwrite/releases/tag/0.11.1","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23682","tags":["advisory"],"sources":["ghsa"]}],"credits":["Alessio Della Libera of Snyk Research Team"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23682","url":"https://www.cve.org/CVERecord?id=CVE-2021-23682","licence":"CVE Terms of Use","modified":"2024-09-16T20:17:30.120Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v9p9-535w-4285","url":"https://github.com/advisories/GHSA-v9p9-535w-4285","licence":"CC-BY-4.0","modified":"2025-01-14T09:12:19.179Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23682","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23682","licence":"Public domain","modified":"2026-06-17T03:38:51.670Z"}],"updatedAt":"2026-11-25T22:58:06.974Z","epss":{"score":0.02117,"percentile":0.82374,"date":"2026-12-01T12:00:22.000Z"}}