Mortgage rates surged to the highest level since March in reaction to two hotter-than-expected inflation reports.