# CVE-2024-39308: RailsAdmin Cross-site Scripting vulnerability in the list view

Source: https://junglewise.ai/threats/cve-2024-39308-railsadmin-cross-site-scripting-vulnerability-in-the-list-view  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-08  
License: CC BY 4.0 with a link back

CVE-2024-39308 · Severity: low · CVSS 3.1 · Published 2024-07-08

RailsAdmin Cross-site Scripting vulnerability in the list view

Technologies: [rails_admin (RubyGems)](https://junglewise.ai/threats/technologies/rails-admin). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2024-39308 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-39308 being exploited in the wild.

**How severe is CVE-2024-39308?** Low severity, with a CVSS score of 3.1, published 8 July 2024.

**Which products and versions are affected?** rails_admin (RubyGems) ECOSYSTEM:introduced=3.0.0.beta,fixed=3.1.3.

**Is there a fix for CVE-2024-39308?** Yes. rails_admin (RubyGems): upgrade to 3.1.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-39308?** Check whether you run rails_admin (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- rails_admin (RubyGems): upgrade to 3.1.3 or later

  ```sh
  bundle update rails_admin
  ```


## Affected products

- rails_admin (RubyGems) ECOSYSTEM:introduced=3.0.0.beta,fixed=3.1.3

## Identifiers

- CVE-2024-39308
- GHSA-8qgm-g2vv-vwvc

## Related threats

- [rails_admin ruby gem XSS vulnerability](https://junglewise.ai/threats/cve-2020-36190-rails-admin-ruby-gem-xss-vulnerability)
- [Cross-site request forgery in rails_admin](https://junglewise.ai/threats/cve-2016-10522-cross-site-request-forgery-in-rails-admin)
- [rails_admin ruby gem XSS](https://junglewise.ai/threats/cve-2017-12098-rails-admin-ruby-gem-xss)
