{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-21176","id":"CVE-2020-21176","title":"SQL Injection in thinkjs","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.","descriptionLong":"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":"2021-02-01T17:37:56.000Z","updated":"2026-10-20T10:52:12.182770925Z","reserved":"2020-08-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"thinkjs","purl":"pkg:npm/thinkjs","ranges":["<=3.2.14"],"fixed":[],"advisory":"GHSA-q5mq-6fjg-4mw8"}],"cwes":["CWE-89"],"aliases":["GHSA-q5mq-6fjg-4mw8"],"references":[{"url":"https://github.com/thinkjs/thinkjs","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","package"]},{"url":"https://blog.jiguang.xyz/posts/thinkjs-sql-injection/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-21176","tags":["advisory"]},{"url":"https://blog.jiguang.xyz/posts/thinkjs-sql-injection","tags":["web"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01507,"epssPercentile":0.74912,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-21176","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-21176","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-21176","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q5mq-6fjg-4mw8","ok":true,"note":"GHSA-q5mq-6fjg-4mw8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-21176","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}