When using the "browse foreign values" functionality of the application, incorrect return values are specified in the selection lists. For instance, the value (an Active Directory username) 'domain\bjones' is returned as 'domainjones'. Return values are not escaped.
Logged In: YES
user_id=1819775
Originator: YES
Lines 250 and 258 of browse_foreigners.php seem to be the issue. Adding function call to addslashes before htmlspecialchars seems to do the trick.
Patch against revision 10684
Logged In: YES
user_id=1819775
Originator: YES
File Added: browse_foreigners.diff
Logged In: YES
user_id=210714
Originator: NO
Fixed, thanks for the patch.