I hate taking risks.

Literal

I [topic-は] danger [object-を] risk [nominalizer-の] [topic-は] disliked.

危険を冒す (きけんをおかす, 'to take a risk, risk danger') — 冒す means 'to brave, defy.' The nominalized clause ~のは serves as the topic of 嫌い. は instead of が with 嫌い adds contrastive emphasis — 'as for risking danger, I hate it.'