CVE-2024-37031
MEDIUM 6.1CVSS 3.1activeadmin vulnerable to stored persistent cross-site scripting (XSS) in dynamic form legends
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.
- Published
- 3 Jun 2024
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-9mg6-x45v-hcfm
- Sources
- NVDJSONOSV GHSA-9mg6-x45v-hcfmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | activeadmin | < 3.2.2 | 3.2.2 |
| OSV | RubyGems | activeadmin | >= 4.0.0.beta1, < 4.0.0.beta7 | 4.0.0.beta7 |
References
- https://github.com/activeadmin/activeadmin/releases/tag/v3.2.2 · WEB
- https://github.com/activeadmin/activeadmin/security/advisories/GHSA-9mg6-x45v-hcfm · WEB
- https://rubygems.org/gems/activeadmin/versions/3.2.2 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-37031 · ADVISORY
- https://github.com/activeadmin/activeadmin/pull/8349 · WEB
- https://github.com/activeadmin/activeadmin · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activeadmin/CVE-2024-37031.yml · WEB
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 3 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Jun 2024)