SQL injection vulnerability in stylesheet.php in CMS Made Simple 1.0.5 and earlier allows remote attackers to execute arbitrary SQL commands via the templateid parameter.
https://exchange.xforce.ibmcloud.com/vulnerabilities/34044
http://www.vupen.com/english/advisories/2007/1628
http://secunia.com/advisories/25082
http://blog.cmsmadesimple.org/2007/04/24/cms-made-simple-106-released/