Discovered 11 months ago
Source: static code analysis
Category: Cross-Site Scripting
Confidence level: Weak

Problem

Unescaped model attribute

Location

app/views/layouts/header/_current_user_dropdown.html.haml:13

current_user.status.message_html

Category description: XSS occurs when a user-manipulatable value is displayed on a web page without escaping it, allowing someone to inject Javascript or HTML into the page.

Solution: fix the issue in app/views/layouts/header/_current_user_dropdown.html.haml or mark it as false positive.