What's the Name of That Book??? discussion

This topic is about
Impossible
SOLVED: Children's/YA
>
SOLVED. YA Girl attacked at a school dance, possibly to do with a curse(?) on her family... [s]
date
newest »

A couple scenes I remember was there was a riddle in the book, as well as a scene where a guy friend of the girl finds her in the bathroom at the school dance bleeding after this thing/ person raped her/ attacked her. I think she ended up pregnant later on (maybe not 100% sure).
It was set in the USA, 21st century, female author (?), and I think the story ended in the female character's favor- I honestly cannot remember.
I know the book was something that was very dark and twisted and had been loaned to me by someone else way back when.