Rising mortgage and rent costs faced by Britons have been laid bare by new data showing how each area is vulnerable to swings in the housing market.