{"id":"CVE-2020-21176","aliases":["EUVD-2021-2378","GHSA-q5mq-6fjg-4mw8"],"status":"published","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.","severity":{"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","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01507,"percentile":0.74612,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-89"],"published":"2021-02-01T17:37:56Z","modified":"2026-10-20T10:52:12Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"thinkjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.2.14"}]}]},{"source":"osv","ecosystem":"npm","package":"thinkjs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"3.2.14"}]}]}],"products":[{"vendor":"thinkjs","product":"thinkjs"}],"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://github.com/advisories/GHSA-q5mq-6fjg-4mw8"},{"url":"https://blog.jiguang.xyz/posts/thinkjs-sql-injection","tags":["web"]}],"sources":{"cve":[{"id":"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.","status":"published","published":"2021-02-01T17:37:56Z","modified":"2024-08-04T14:22:25.574Z","updated_at":"2026-11-02T14:35:48.854892Z"}],"euvd":[{"id":"EUVD-2021-2378","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.","status":"published","published":"2021-02-01T17:37:56Z","modified":"2024-08-04T14:22:25Z","updated_at":"2026-11-03T03:07:23.734565Z"}],"ghsa":[{"id":"GHSA-q5mq-6fjg-4mw8","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.","status":"published","published":"2021-11-19T20:42:32Z","modified":"2023-02-01T05:06:21Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:36:38.281533Z"}],"nvd":[{"id":"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.","status":"published","published":"2021-02-01T18:15:13.263Z","modified":"2026-06-17T03:03:35.6Z","cvss":[{"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","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:06:34.188486Z"}],"osv":[{"id":"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.","status":"published","published":"2021-02-01T18:15:13.263Z","modified":"2026-10-20T10:52:12.182770925Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-02T15:44:15.212689Z"},{"id":"GHSA-q5mq-6fjg-4mw8","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.","status":"published","published":"2021-11-19T20:42:32Z","modified":"2023-11-08T04:02:50.927441Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:54.055966Z"}]}}
