Hmm, interesting question.
Heres what I figure, while the bible may not specificly talk about the act of masturbation, it does talk about lusting after others, which im pretty sure is involved in that act. So while it may not techniclly be a sin, it can be seen as a symptom/result of it. But, I'm not really sure.