Average five-year mortgage rate hits 6% for first time in three years.

The cost of a new fixed-rate mortgage has been rising in recent weeks as lenders face higher costs.