
Cloud Vulnerability DB
A community-led vulnerabilities database
RailsAdmin, a Rails engine that provides an interface for managing data, was found to contain a Cross-Site Scripting (XSS) vulnerability identified as CVE-2024-39308. The vulnerability was discovered in the list view functionality, specifically related to improperly-escaped HTML title attributes. The issue affects versions >= 3.0.0.beta and < 3.1.3 of the rails_admin gem (GitHub Advisory).
The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation) with a CVSS v3.0 base score of 6.8 (Medium). The issue stems from improper escaping of HTML title attributes in the list view, which could allow for potential XSS attacks. The vulnerability requires low attack complexity and low privileges but does need user interaction. The CVSS vector string is CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N (NVD, GitHub Advisory).
The vulnerability allows attackers to potentially execute arbitrary JavaScript code in the context of other users' browsers when they view the affected list view pages. This could lead to unauthorized access to sensitive information displayed in the RailsAdmin interface (GitHub Advisory).
The vulnerability can be exploited by storing content containing malicious HTML/JavaScript code in fields that are displayed in the list view. When other users view the list containing these malicious entries, the code could be executed in their browsers (GitHub Issue).
Users are advised to upgrade to RailsAdmin version 3.1.3 or later for a complete fix. For users unable to upgrade immediately, a workaround is available by copying and modifying the index view file (app/views/rails_admin/main/index.html.erb) to properly escape the title attribute using strip_tags. The vulnerability was initially thought to affect versions before 3.0, but this was not the case, so 2.x users can safely remain on version 2.2.1 (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."