Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-21176

SQL injection vulnerability in the model.increment and model.decrement function in ThinkJS 3.2.10 allows remote attackers to execute arbitrary SQL commands via the step parameter.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-21176
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:58 UTC · Revision 1

Source evidence

CVE-2020-21176

core-osv · Original source

Published 1 Feb 2021, 18:15 UTC

SQL injection vulnerability in the model.increment and model.decrement function in ThinkJS 3.2.10 allows remote attackers to execute arbitrary SQL commands via the step parameter.

osv:CVE-2020-21176
Complete source record
{
  "id": "d0405bc7ccffac01b4d8c9823770680a20d2117d7f62b449add20983a1517608",
  "url": "https://osv.dev/vulnerability/CVE-2020-21176",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-21176",
    "summary": "SQL injection vulnerability in the model.increment and model.decrement function in ThinkJS 3.2.10 allows remote attackers to execute arbitrary SQL commands via the step parameter.",
    "evidence": "osv:CVE-2020-21176",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2020-21176",
      "aliases": [
        "CVE-2020-21176",
        "GHSA-q5mq-6fjg-4mw8"
      ],
      "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/thinkjs/thinkjs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2872d6ee5d013ef9271cc735bf051be9d196d17e"
                },
                {
                  "last_affected": "2872d6ee5d013ef9271cc735bf051be9d196d17e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:thinkjs:thinkjs:3.2.10:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "3.2.10"
                      },
                      {
                        "last_affected": "3.2.10"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.2.10",
            "v3.2.10"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-21176.json"
          }
        }
      ],
      "modified": "2026-10-20T10:52:12.182770925Z",
      "provider": "osv",
      "references": [
        "https://github.com/thinkjs/thinkjs",
        "https://blog.jiguang.xyz/posts/thinkjs-sql-injection/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-21176",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 383465,
  "published_at": "2021-02-01T18:15:13.263+00:00"
}