CVE-2024-39308
Published: 08 July 2024
Summary
CVE-2024-39308 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Rails Admin Project Rails Admin. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 8.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
RailsAdmin, a Rails engine that provides a web interface for managing application data, is affected by a cross-site scripting vulnerability in its list view. The flaw arises from improper escaping of HTML content within title attributes and is tracked as CWE-79 with a CVSS 3.1 score of 5.4.
An authenticated attacker with low privileges can supply malicious input that executes when another user renders the affected list view, achieving limited impacts on confidentiality and integrity that require user interaction and result in a changed scope.
Advisories and patches direct users to upgrade to RailsAdmin 3.1.3 or 2.2.2; the referenced GitHub commits and security advisory GHSA-8qgm-g2vv-vwvc contain the fixes, and updated packages are available on RubyGems.
The EPSS score has remained flat at 0.0672 with no material rise after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-2305
Vulnerability details
RailsAdmin is a Rails engine that provides an interface for managing data. RailsAdmin list view has the XSS vulnerability, caused by improperly-escaped HTML title attribute. Upgrade to 3.1.3 or 2.2.2 (to be released).
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.