
Proof-of-concept demonstrating a stored XSS vulnerability in FreelanceHub's profile bio field, with step-by-step reproduction and impact analysis.
CVE ID: CVE-2025-55854
Vulnerability Type: Stored Cross-Site Scripting (XSS)
Severity: High
Affected Component: User Profile Bio Field
Affected Application: FreelanceHub (https://github.com/nooncarlett/FreelanceHub)
A stored Cross-Site Scripting (XSS) vulnerability has been discovered in the FreelanceHub application's user profile functionality. The vulnerability exists due to insufficient input sanitization in the Bio field, allowing attackers to inject malicious JavaScript code that executes when other users view the affected profile page.
This vulnerability enables an attacker to:
The application fails to properly sanitize user input in the Bio field before storing it in the database and rendering it on the profile page. The HTML is rendered directly without escaping special characters or removing potentially dangerous tags and event handlers.
http://localhost:8080/auth
http://localhost:8080/profilehttp://localhost:8080/profileThe application should sanitize the input and either:
<, >, ", ', etc.)The malicious HTML/JavaScript payload is stored in the database and executed when the profile page is rendered, without any sanitization or encoding.
CVSS v3.1 Score: 8.1 (High)
Vector String: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N