CVE-2021-23682Appwrite
Critical 9.8 No auth needed
Follow: this CVE · Appwrite · Appwrite We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Feb 16, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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
- Apply the vendor's security update for Appwrite.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | appwrite/server-ce |
≥ 0.12.0 < 0.12.2 |
0.12.2 |
composer require "appwrite/server-ce:^0.12.2" |
| Packagist | appwrite/server-ce |
< 0.11.1 |
0.11.1 |
composer require "appwrite/server-ce:^0.11.1" |
| npm | litespeed.js |
< 0.3.12 |
0.3.12 |
npm install litespeed.js@0.3.12 |
Per OSV / GitHub Advisories (GHSA-v9p9-535w-4285). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| appwrite | appwrite | < 0.11.1 |
| appwrite | appwrite | ≥ 0.12.0 < 0.12.2 |
| litespeed.js_project | litespeed.js | < 0.3.12 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- snyk.io Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory