SecurityContext

CVE-2020-21176: ThinkJS - SQL Injection

  • Cve: CVE-2020-21176
  • Name: ThinkJS - SQL Injection
  • Description: 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.
  • Impact: Remote attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
  • Remediation: Update to the latest version of ThinkJS or apply security patches that sanitize input parameters.
  • Vulnerability type: sql_injection
  • Vulnerability impact: data_tampering, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01507
  • Epss percentile: 0.75062
  • Assignee: [email protected]
  • Published at: 2021-02-01T18:15:13Z
  • Age in days: 2122
  • Modified at: 2026-06-17T03:03:35Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-21176
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Public exploits

UrlSourceAdded date
https://blog.jiguang.xyz/posts/thinkjs-sql-injection/nvd2021-02-01

References

UrlSourceTags
https://blog.jiguang.xyz/posts/thinkjs-sql-injection/nvdExploit, Third Party Advisory
https://github.com/thinkjs/thinkjsnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
thinkjs:thinkjs= 3.2.10nonvd/v1/products/thinkjs/thinkjs

Projects

RepositoryLink kindsIndexedUrl
thinkjs/thinkjspackageyes/v1/repositories/thinkjs/thinkjs

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-02-01
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts