Yeah it's a common issue. Players tend to look at their own pieces more than their opponent's, so they will see threats they can make, but will miss what their opponent can threaten.
I think a good exercise is to solve puzzles in a particular way. First of all, don't make a single move until you think you have the whole solution. What you'll do is write down your intended solution to the puzzle... then you go over your solution slowly, one move at a time. Visualize each individual move, pause, identify the threat, and try to find ALL the ways the opponent can defend against it. If you find a way to defend you didn't consider, then your solution is bad, so start over... if you can't find any improvement for the opponent on any move, then your solution is probably good, and you can try it.
The point is you're going through the process of:
1) Clearly identifying what the threat is in your mind
2) Holding on to that position, and looking for multiple ways to defend
In a real game you'll be the defender, but it's the same idea... by looking for multiple ways to defend a single threat, you start to familiarize yourself with the types of moves that interfere with attacking ideas, which will make your defensive analysis more efficient.
It seems to me that I tend to make most of my mistakes while I'm down material or on the defense (in essence, a snowball effect). Furthermore, when I'm doing puzzles, the ones I always mess up on are the ones that involve surviving attacks by your opponent.
Is this a common issue? and what strategies do you use to overcome it?