Hustoj Cross-Site Scripting Vulnerability in thread.php

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Hustoj version 2025-01-31. The issue arises in the thread.php file, specifically through the TID parameter. An attacker can inject a malicious payload, which is then executed in the context of the user's browser when the thread is accessed.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where injected scripts are executed in the context of the user's browser.

Reproduction

To reproduce this vulnerability, an attacker can create a new post using the newpost.php endpoint, injecting an XSS payload into the title field. Once the post is created, the payload will be executed when a user visits the corresponding thread in thread.php.

Remediation

Users are advised to sanitize the title input using htmlspecialchars() to prevent XSS payloads from being executed.

Added: Aug 19, 2025, 4:21 PM
Updated: Aug 19, 2025, 4:21 PM

Vulnerability Rating

Custom Algorithm
spread
2.2
impact
1.7
exploitability
7.9
remediation
7.7
relevance
0.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.