Will a newly developed theme can have security flaws ?

Will a newly developed theme can have security flaws ? Should i think about modifying a theme similar to what i need than developing a new one