Several possibilities, your friend's computer has been hacked with keylogging
ditto site login/password
other PM recipient may fall under same two possibilities
a third party who has administrative rights may be able too, depending of forum software, set up and rights
someone who has hacked an admin account
If the NSA wanted to read a message on here, I think the answer is "Why, yes, with enough money time and expertise, they can"
packet sniffers, and "man in the middle" type scenarios.
Most simple answer is probably social, mattie told hattie about the thing she saw.