A 25-year-old surfer was seriously injured Tuesday after he was bitten by a shark in Humboldt County, authorities said.