The average rate on a 30-year fixed mortgage rose this week to 6%, according to the latest Freddie Mac data released Thursday. That is up from last week's reading of 5.98%.