simpleinvoices/simpleinvoices — pull request #141 by KyraD (2013-11-23 00:45:22+00:00)
Title: Fix SQL Injection Vulnerability

Per https://github.com/simpleinvoices/simpleinvoices/blob/master/modules/invoices/xml.php#L15-L16 it does just passes $_REQUEST vars to the class as $this->query and $this->qtype, which is then inserted directly into SQL query as is. This similar code seems to have been copied and pasted to multiple files.