{"id":"CVE-2020-21176","aliases":["CVE-2020-21176","GHSA-q5mq-6fjg-4mw8"],"related":[],"kind":"vulnerability","state":"published","title":"SQL Injection in thinkjs","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de inyección SQL en las funciones model.increment y model.decrement en ThinkJS versión 3.2.10, permite a atacantes remotos ejecutar comandos SQL arbitrarios por medio del parámetro step","source":"nvd"}],"published":"2021-02-01T17:37:56.000Z","modified":"2026-06-17T03:03:35.600Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"3.2.14"}],"ecosystem":"npm","package":"thinkjs","purl":"pkg:npm/thinkjs","source":"ghsa"},{"ranges":[{"status":"affected","version":"3.2.10"}],"vendor":"thinkjs","product":"thinkjs","cpe":"cpe:2.3:a:thinkjs:thinkjs:3.2.10:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/thinkjs/thinkjs","tags":["package","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://blog.jiguang.xyz/posts/thinkjs-sql-injection/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-21176","tags":["advisory"],"sources":["ghsa"]},{"url":"https://blog.jiguang.xyz/posts/thinkjs-sql-injection","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-21176","url":"https://www.cve.org/CVERecord?id=CVE-2020-21176","licence":"CVE Terms of Use","modified":"2024-08-04T14:22:25.574Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q5mq-6fjg-4mw8","url":"https://github.com/advisories/GHSA-q5mq-6fjg-4mw8","licence":"CC-BY-4.0","modified":"2023-11-08T04:02:50.927Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-21176","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-21176","licence":"Public domain","modified":"2026-06-17T03:03:35.600Z"}],"updatedAt":"2026-11-25T22:57:57.248Z","epss":{"score":0.01507,"percentile":0.7514,"date":"2026-12-01T12:00:22.000Z"}}