NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm🐘 Packagist
Not in CISA KEV
CRITICAL severity

CVE-2021-23682 — litespeed.js

CRITICALFix: appwrite/appwrite#2778

CVE-2021-23682 is a critical-severity (CVSS 9.8) CWE-1321 vulnerability in litespeed.js. 2 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for litespeed.js — see the affected versions and patch details below.

Prototype Pollution in litespeed.js and appwrite/server-ce

Also known asGHSA-v9p9-535w-4285
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
2 known
Exploitation data as of Nov 7, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
2.1%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs82th percentile — riskier than 82% of all scored CVEsHighest risk
1.10%2.85%4.61%6.37%5.4%2.1%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

3 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

6other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
litespeed.jsnpm
309downloads / week

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.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
📦npmlitespeed.jsall versions0.3.12npm install litespeed.js@0.3.12
🐘Packagistappwrite/server-ce≥ 0.12.0&&< 0.12.20.12.2composer require appwrite/server-ce:^0.12.2
🐘Packagistappwrite/server-ceall versions0.11.1composer require appwrite/server-ce:^0.11.1

Affected Products

2 products · 3 configurations
Application
appwriteappwrite
≥ 0.12.0 && < 0.12.2
range
Application
litespeed.jslitespeed.js_project
< 0.3.12
range
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for litespeed.js, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update litespeed.js to 0.3.12 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-23682 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-23682 in your dependencies?

Find it across npm, Packagist, including transitive dependencies.

CVE-2021-23682: litespeed.js — Fixed in 0.3.12