CVE-2024-39308 json
RailsAdmin Cross-site Scripting vulnerability in the list view
published 2024-07-08 2 y ago modified 2026-09-10 1 mo ago also GHSA-8qgm-g2vv-vwvc , EUVD-2024-2305
- cvss
- 6.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
RailsAdmin is a Rails engine that provides an interface for managing data. RailsAdmin list view has the XSS vulnerability, caused by improperly-escaped HTML title attribute. Upgrade to 3.1.3 or 2.2.2 (to be released).
Patch / fix
- rubygems rails_admin 3.1.3
- rails_admin_project rails_admin 2.3.0, 3.1.3
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.58% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rails_admin | >=3.0.0.beta, <3.1.3 |
3.1.3 |
Affected products
- railsadminteam rails_admin
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/railsadminteam/rails_admin/commit/b5a287d82e2cbd1737a1a01e11ede2911cce7fef
web, patch
-
github.com
/railsadminteam/rails_admin/commit/d84b39884059c4ed50197cec8522cca029a17673
web, patch
-
rubygems.org
/gems/rails_admin/versions/2.3.0
web, patch
-
rubygems.org
/gems/rails_admin/versions/3.1.3
web, patch
-
github.com
/railsadminteam/rails_admin/security/advisories/GHSA-8qgm-g2vv-vwvc
web, vendor-advisory
-
github.com
/railsadminteam/rails_admin/issues/3686
web, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2024-39308
advisory
-
github.com
/railsadminteam/rails_admin
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rails_admin/CVE-2024-39308.yml
web
Sources
- CVE List CVE-2024-39308
- GitHub Advisory GHSA-8qgm-g2vv-vwvc
- NVD CVE-2024-39308
Fencer Vulns 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.