QuackatronHQ / Gigarepo

Audit required: Risk of possible SQL injection vector through string-based query construction BAN-B608
Security
Major
a month ago2 years old
Possible SQL injection vector through string-based query construction.
25            raise RuntimeError("Cannot access private data")
26
27        data = self.cursor.execute(
28            "SELECT id FROM userdata WHERE Name ={};".format(name)29        )
30        self.conn.commit()
31        return data