Return to Logs
VULNERABILITY_REPORT_LOG

Stored XSS in Admin Dashboard

# VULNERABILITY REPORT: Stored Cross-Site Scripting (XSS) ## EXECUTIVE SUMMARY A Stored XSS vulnerability was found in the user profile section of the admin dashboard. This allowed low-privileged users to inject malicious scripts that would execute in the context of an administrator's session. ## TECHNICAL DETAILS **Input Vector:** "Bio" field in User Profile settings. The application failed to properly sanitize HTML input in the "Bio" field. While basic tags were stripped, SVG tags with event handlers were allowed. ### Payload ```html <svg onload=alert(document.cookie)> ``` When an administrator viewed the user's profile in the dashboard, the script executed, popping an alert box with the admin's session cookies. ### Impact - Session hijacking of administrator accounts. - Potential for privilege escalation. ## REMEDIATION - Implement context-aware output encoding. - Use a robust HTML sanitization library (e.g., DOMPurify). - Enforce a strict Content Security Policy (CSP). ## TIMELINE - **2024-10-12**: Discovered. - **2024-10-15**: Triaged. - **2024-10-20**: Resolved.

METADATA

Target System
M*******t
Severity Level
MEDIUM
Disclosure Date
2024-10-12
VERIFIED_EXPLOIT