1.92 Security

Apply XSS security patch on 1.92 : 3 bug: #07093, #07085, #07087
Fix other bugs: #6757 and #6854