CVE-2017-12098
MEDIUM 6.1CVSS 3.1rails_admin ruby gem XSS
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.
- Published
- 19 Jan 2018
- Last modified
- 17 Jun 2026
- Assigned by
- talos-cna@cisco.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-pxr8-w3jq-rcwj
- Sources
- NVDJSONOSV GHSA-pxr8-w3jq-rcwjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | 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 |
| OSV | GitHub | 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 |
| NVD | talos-cna@cisco.com (Secondary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rails_admin_project | rails_admincpe:2.3:a:rails_admin_project:rails_admin:1.2.0:*:*:*:*:ruby:*:* |
= 1.2.0 | |
| OSV | RubyGems | rails_admin | < 1.3.0 | 1.3.0 |
References
- http://www.securityfocus.com/bid/102486 · Broken Link, Third Party Advisory, VDB Entry
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0450 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-12098 · ADVISORY
- https://github.com/advisories/GHSA-pxr8-w3jq-rcwj · ADVISORY
- https://github.com/railsadminteam/rails_admin · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails_admin/CVE-2017-12098.yml · WEB
- https://web.archive.org/web/20210116160904/http://www.securityfocus.com/bid/102486 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 19 Jan 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Mar 2018)