CVE-2017-12098
rails_admin ruby gem XSS
Reported by talos · Published January 19, 2018
rails_admin is fixed in 1.3.0 (RubyGems)
An exploitable cross site scripting (XSS) vulnerability exists in the add filter functionality of the rails_admin rails gem version 1.2.0. A specially crafted URL can cause an XSS flaw resulting in an attacker being able to execute arbitrary javascript on the victim's browser. An attacker can phish an authenticated user to trigger this vulnerability.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rails_admin | RubyGems | 1.3.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| RubyGems | rails_admin | 1.2.0 |
Timeline
- Jan 15, 2018 PoC Published
- Jan 19, 2018 CVE Published
- Feb 2, 2018 CVE Updated
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory
- Oct 4, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-12098
vulnetix vdb fixes CVE-2017-12098
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-12098/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 102486 vdb-entryx_refsource_BID
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2017-12098 advisory