Thanks for the info, bug has been rapidly squashed. If anyone ever comes across anything similar, please do let me know ASAP. There is no significant risk to anyones accounts from things like this as I am rather overzealous on security, but it would lead to formatting annoyances and general mischief if left unchecked.
Amusingly the forum names were being escaped correctly but the user entered info was not! More often than not I screw up by escaping too many times. This bug was a legacy bug from the base software that I had foolishly presumed safe.
Most other places with limited escaping use tag whitelists, to prevent script injection and similar abuses from happening. If you do come across any then be sure to let me know