A number of states have special protections for people facing foreclosure on high-cost mortgages. (For specifics, see Ch. 2.)
If your state has a high-cost mortgage statute, and the lender has violated any of its provisions, you might be able to raise that violation as a defense in your foreclosure case. If your state has a high-cost mortgage statute, there’s a brief summary on your state’s page in the appendix, including any provisions that might help you fight your foreclosure.