# CVE-2024-37031: activeadmin vulnerable to stored persistent cross-site scripting (XSS) in dynamic form legends

Source: https://junglewise.ai/threats/cve-2024-37031-activeadmin-vulnerable-to-stored-persistent-cross-site-scripting  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-06-02  
License: CC BY 4.0 with a link back

CVE-2024-37031 · Severity: low · CVSS 3.1 · Published 2024-06-02

activeadmin vulnerable to stored persistent cross-site scripting (XSS) in dynamic form legends

Technologies: [activeadmin (RubyGems)](https://junglewise.ai/threats/technologies/activeadmin). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

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

**How severe is CVE-2024-37031?** Low severity, with a CVSS score of 3.1, published 2 June 2024.

**Which products and versions are affected?** activeadmin (RubyGems) ECOSYSTEM:introduced=0,fixed=3.2.2.

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

**Am I affected by CVE-2024-37031?** Check whether you run activeadmin (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

- activeadmin (RubyGems): upgrade to 3.2.2 or later

  ```sh
  bundle update activeadmin
  ```


## Affected products

- activeadmin (RubyGems) ECOSYSTEM:introduced=0,fixed=3.2.2

## Identifiers

- CVE-2024-37031
- GHSA-9mg6-x45v-hcfm

## Related threats

- [ActiveAdmin CSV Injection leading to sensitive information disclosure](https://junglewise.ai/threats/cve-2023-51763-activeadmin-csv-injection-leading-to-sensitive-information)
- [Duplicate Advisory: ActiveAdmin vulnerable to CSV injection](https://junglewise.ai/threats/duplicate-advisory-activeadmin-vulnerable-to-csv-injection-d1b274a3)
- [Potential CSV export data leak](https://junglewise.ai/threats/cve-2023-50448-potential-csv-export-data-leak)
