CVE-2024-37031 json
activeadmin vulnerable to stored persistent cross-site scripting (XSS) in dynamic form legends
published 2y ago modified 4mo ago also GHSA-9mg6-x45v-hcfm , EUVD-2024-2006
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems activeadmin 3.2.2, 4.0.0.beta7
Is CVE-2024-37031 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | activeadmin | <3.2.2 >=4.0.0.beta1, <4.0.0.beta7 |
3.2.2 4.0.0.beta7 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/activeadmin/activeadmin/pull/8349
web
-
rubygems.org
/gems/activeadmin/versions/3.2.2
web
-
github.com
/activeadmin/activeadmin/releases/tag/v3.2.2
web
-
github.com
/activeadmin/activeadmin/security/advisories/GHSA-9mg6-x45v-hcfm
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-37031
advisory
-
github.com
/activeadmin/activeadmin
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/activeadmin/CVE-2024-37031.yml
web
Sources
- CVE List CVE-2024-37031
- GitHub Advisory GHSA-9mg6-x45v-hcfm
- NVD CVE-2024-37031
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.