CVE-2020-21176
CRITICAL 9.8CVSS 3.1SQL Injection in thinkjs
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.
- Published
- 1 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-q5mq-6fjg-4mw8
- Sources
- NVDJSONOSV GHSA-q5mq-6fjg-4mw8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | thinkjs | thinkjscpe:2.3:a:thinkjs:thinkjs:3.2.10:*:*:*:*:node.js:*:* |
= 3.2.10 | |
| OSV | npm | thinkjs | <= 3.2.14 |
References
- https://blog.jiguang.xyz/posts/thinkjs-sql-injection/ · Exploit, Third Party Advisory, WEB
- https://github.com/thinkjs/thinkjs · Third Party Advisory, PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2020-21176 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 1 Feb 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Nov 2021)