Home / CVE-2024-37031
CVE-2024-37031: is it exploited, and which versions of activeadmin are affected and fixed?
CVE-2024-37031 is a cross-site scripting (XSS) vulnerability in activeadmin. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: activeadmin before 3.2.2 and activeadmin from 4.0.0.beta1 before 4.0.0.beta7 (GitHub advisory GHSA-9mg6-x45v-hcfm). Fixed in 3.2.2 and 4.0.0.beta7 (GitHub advisory GHSA-9mg6-x45v-hcfm). Severity: Medium (6.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2024-37031?
The Active Admin (aka activeadmin) framework before 3.2.2 for Ruby on Rails allows stored XSS in certain situations where users can create entities (to be later edited in forms) with arbitrary names, aka a "dynamic form legends" issue. 4.0.0.beta7 is also a fixed version.
From the CVE record by mitre, last updated February 13, 2025, 15:59 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | activeadmin | < 3.2.2 | 3.2.2 | GHSA-9mg6-x45v-hcfm |
| RubyGems | activeadmin | >= 4.0.0.beta1, < 4.0.0.beta7 | 4.0.0.beta7 | GHSA-9mg6-x45v-hcfm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 28, 2024. Summary: activeadmin vulnerable to stored persistent cross-site scripting (XSS) in dynamic form legends.
How severe is CVE-2024-37031?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-37031 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 29, 2024)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 30.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://rubygems.org/gems/activeadmin/versions/3.2.2
- https://github.com/activeadmin/activeadmin/releases/tag/v3.2.2
- https://github.com/activeadmin/activeadmin/security/advisories/GHSA-9mg6-x45v-hcfm
When was it published, and where is the official record?
- Reserved
- May 31, 2024
- Published
- June 3, 2024, 05:54 UTC
- CVE record updated
- February 13, 2025, 15:59 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 07:37 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on June 3, 2024?
- Jun 3, 2024CVE-2023-28492 CodePeople CP Multi View Event Calendar: missing authorization
- Jun 3, 2024CVE-2023-27460 CodePeople, paypaldev CP Contact Form with Paypal: missing authorization
- Jun 3, 2024CVE-2023-27437 Event Espresso 4 Decaf: missing authorization
- Jun 3, 2024CVE-2023-26523 CodePeople Calculated Fields Form: missing authorization
- Jun 3, 2024CVE-2023-26521 CodePeople Search in Place: missing authorization
- Jun 3, 2024CVE-2023-24373 WpDevArt Booking calendar, Appointment Booking System: external Control of Assumed-Immutable Web Parameter
- Jun 3, 2024CVE-2023-23738 Brainstorm Force Spectra: injection
- Jun 3, 2024CVE-2023-23735 Brainstorm Force Spectra: cross-site scripting (XSS)
Every CVE published on June 3, 2024
Questions about CVE-2024-37031
Is CVE-2024-37031 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of activeadmin are affected by CVE-2024-37031?
activeadmin before 3.2.2 and activeadmin from 4.0.0.beta1 before 4.0.0.beta7, per the GitHub advisory GHSA-9mg6-x45v-hcfm. The tables above give every range the sources list.
Which version fixes CVE-2024-37031?
3.2.2 and 4.0.0.beta7, per the GitHub advisory GHSA-9mg6-x45v-hcfm. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-37031?
Medium (6.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-37031?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.