{"api_version":"1","generated_at":"2026-07-23T12:46:26+00:00","cve":"CVE-2020-21176","urls":{"html":"https://cve.report/CVE-2020-21176","api":"https://cve.report/api/cve/CVE-2020-21176.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-21176","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-21176"},"summary":{"title":"CVE-2020-21176","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-02-01 18:15:00","updated_at":"2021-02-03 21:43:00"},"problem_types":["CWE-89"],"metrics":[],"references":[{"url":"https://github.com/thinkjs/thinkjs","name":"https://github.com/thinkjs/thinkjs","refsource":"MISC","tags":["Third Party Advisory"],"title":"GitHub - thinkjs/thinkjs: Use full ES2015+ features to develop Node.js applications","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://blog.jiguang.xyz/posts/thinkjs-sql-injection/","name":"https://blog.jiguang.xyz/posts/thinkjs-sql-injection/","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"thinkjs - sql注入漏洞分析 · 极光 - 再见已是故人","mime":"text/x-python","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-21176","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-21176","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"21176","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"thinkjs","cpe5":"thinkjs","cpe6":"3.2.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"21176","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"thinkjs","cpe5":"thinkjs","cpe6":"3.2.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-21176","qid":"980032","title":"Nodejs (npm) Security Update for thinkjs (GHSA-q5mq-6fjg-4mw8)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-21176","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/thinkjs/thinkjs","refsource":"MISC","name":"https://github.com/thinkjs/thinkjs"},{"refsource":"MISC","name":"https://blog.jiguang.xyz/posts/thinkjs-sql-injection/","url":"https://blog.jiguang.xyz/posts/thinkjs-sql-injection/"}]}},"nvd":{"publishedDate":"2021-02-01 18:15:00","lastModifiedDate":"2021-02-03 21:43:00","problem_types":["CWE-89"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:thinkjs:thinkjs:3.2.10:*:*:*:*:node.js:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"21176","Ordinal":"182585","Title":"CVE-2020-21176","CVE":"CVE-2020-21176","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"21176","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"21176","Ordinal":"2","NoteData":"2021-02-01","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"21176","Ordinal":"3","NoteData":"2021-02-01","Type":"Other","Title":"Modified"}]}}}