The jogger was in Anthony Chabot Regional Park in Castro Valley when a dog attacked her about 10:30 a.m. Thursday, and she had to defend herself with pepper spray, the East Bay Regional Park District Police Department said.