Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-23682

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-23682
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:50 UTC · Revision 1

Source evidence

CVE-2021-23682

core-osv · Original source

Published 16 Feb 2022, 17:15 UTC

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.

osv:CVE-2021-23682
Complete source record
{
  "id": "2a2d65abb4839d8bd9ca1728f8f8a2d01b1223873ed7baae3741086d563b5b3f",
  "url": "https://osv.dev/vulnerability/CVE-2021-23682",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-23682",
    "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.",
    "evidence": "osv:CVE-2021-23682",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-23682",
      "aliases": [
        "CVE-2021-23682",
        "GHSA-v9p9-535w-4285"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/appwrite/appwrite",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3c399b158ae2a785869ac9dfa059b53dba651da1"
                },
                {
                  "introduced": "1a0f740459fde58dc41112861f47bc06d1ae5c4c"
                },
                {
                  "fixed": "4de45b71421756e22a9672add45580f60acb2907"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:appwrite:appwrite:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.11.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:appwrite:appwrite:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.12.0"
                      },
                      {
                        "fixed": "0.12.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3c399b158ae2a785869ac9dfa059b53dba651da1"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "0.11.1"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4de45b71421756e22a9672add45580f60acb2907"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "0.12.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.12.1",
            "0.12.0",
            "0.10.4",
            "0.10.3",
            "0.10.2",
            "0.10.1",
            "0.10.0",
            "0.9.3",
            "0.9.2",
            "0.9.1",
            "0.9.0",
            "0.9",
            "0.8.0",
            "0.7.2",
            "0.7.1",
            "0.7.0",
            "0.6.2",
            "0.6.0",
            "0.5.3",
            "0.5.2",
            "0.5.1",
            "0.5.0",
            "0.4.0",
            "0.3.0",
            "0.2.0",
            "0.1.15",
            "0.1.13"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23682.json"
          }
        }
      ],
      "modified": "2026-10-24T10:50:28.832251137Z",
      "provider": "osv",
      "references": [
        "https://github.com/appwrite/appwrite/releases/tag/0.11.1",
        "https://github.com/appwrite/appwrite/releases/tag/0.12.2",
        "https://github.com/appwrite/appwrite/pull/2778",
        "https://github.com/litespeed-js/litespeed.js/pull/18",
        "https://snyk.io/vuln/SNYK-JS-LITESPEEDJS-2359250",
        "https://snyk.io/vuln/SNYK-PHP-APPWRITESERVERCE-2401820"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:litespeed.js_project:litespeed.js:*:*:*:*:*:node.js:*:*"
            ],
            "vendor_product": "litespeed.js_project:litespeed.js",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.3.12"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-23682",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442209,
  "published_at": "2022-02-16T17:15:10.713+00:00"
}