This is a patch to fix the XSS Exploit in BoostCMS News Comments. I've discovered this exploit by using a special web security check software, few months ago while I'm checking the CMS. I decided to release this patch to public as it may help few users who are currently searching for the fix.
You may download the patch in the attachments below.
BoostCMS Patch by Airilxx.zip
Instructions: Put the patch in <your web server path>/Boost/Packages/Default/Templates/ . Please be remember, backup your original Comment.tpl and place somewhere else outside your server web folder
Note: This patch is 100% created by me, I only changed few bits of codes
real code
replaced withCode:<?php echo str_replace("\n", '<br>', htmlspecialchars($Comment['comment'])); ?>
Code:<?php echo strip_tags(str_replace("\n", '<br>', mysql_real_escape_string($Comment['comment']))) ?>




Reply With Quote![[FIX] BoostCMS XSS Exploit Fix - News Comments [FIX]](http://ragezone.com/hyper728.png)

I'll update this thread with the code snippets soon.
![[FIX] BoostCMS XSS Exploit Fix - News Comments [FIX]](https://emoji.tapatalk-cdn.com/emoji848.png)

