There is some "bad" in most, if not, all London boroughs, some places in London are just more bad than others.
I would personally say avoid certain parts of East London - Newham area i.e Upton Park, Forest Gate etc. and Barking & Dagenham, A guy who I vaguely knew was unfortunately stabbed in Dagenham last year.