Skip to content

SQL Injection in thinkjs

High severity GitHub Reviewed Published Nov 19, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

npm thinkjs (npm)

Affected versions

<= 3.2.14

Patched versions

None

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.

References

Published by the National Vulnerability Database Feb 1, 2021
Reviewed Oct 7, 2021
Published to the GitHub Advisory Database Nov 19, 2021
Last updated Feb 1, 2023

Severity

High

Weaknesses

CVE ID

CVE-2020-21176

GHSA ID

GHSA-q5mq-6fjg-4mw8

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.