Executive brief
GazellePW is a forum platform that allows users to award bonus points and comments on forum posts. An attacker can inject malicious JavaScript into reward comments, which gets stored in the database and later displayed to other users viewing the thread, potentially allowing account hijacking or credential theft from forum members.
Technical details
A stored cross-site scripting (XSS) vulnerability exists in the forum reward comments feature. The vulnerable code in ajax_get_jf.php accepts user input via the 'c' parameter, applies only basic length validation (max 100 chars), and passes it to db_string() for database escaping but does not perform proper output encoding. When the comment is later rendered in thread.php via the data-tooltip attribute, the Tooltipster JavaScript library interprets it as HTML, executing any embedded JavaScript payload. Authentication is required (the endpoint validates an encrypted auth token), but any authenticated user can inject XSS that affects other users viewing the thread. The vulnerability was present as of commit 86c4bedf and requires browser-based exploitation via the tooltip rendering mechanism.
Affected products
- Mosasauroidea GazellePW up to commit 86c4bedf727691b5a97af42a4864869d18446449
Timeline
- 2026-08-25: disclosed