I believe I have found a vulnerability in ClipBucket 2.0.6 (haven’t tested with prior versions).
ClipBucket is an open source and free script that will let you start your own Video Sharing (Youtube Clone) website in matter of minutes, ClipBucket is fastest growing script with most video sharing websites and social networking features.
current version: 2.0.6
The script handling the search features is not sanitizing user input properly making it possible to produce XSS attacks.
Proof of Concept:
Use the search box of your ClipBucket 2.0.6 installation and Input:
This will produce an alert with contents of your cookie.
$search->key in search_result.php (line 18) is being directly assigned to the title of the search page without sanitizing its value first.
$search->key = $_GET['query'];
Open file search_result.php. Go to line 39:
The ClipBucket team was already notified and the bug was corrected. Either apply this patch or upgrade your version to 2.0.7