Yes, the Banshee framework is secure enough
. Banshee has built-in protection against SQL injection, XSS and XSRF.
You should only use the CGI-wrapper if you want somebody else to run CGI-scripts on your machine but you're not sure if they're secure enough.