CVE-2017-12098: rails_admin - Reflected XSS
- Cve: CVE-2017-12098
- Name: rails_admin - Reflected XSS
- Description: 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.
- Impact: Attackers can execute arbitrary JavaScript in the victim's browser, potentially leading to session hijacking or malicious actions.
- Remediation: Update to the latest version of rails_admin that addresses this vulnerability or apply security patches.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs victim to click a crafted URL
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01279
- Epss percentile: 0.70751
- Assignee: [email protected]
- Published at: 2018-01-19T19:29:00Z
- Age in days: 3231
- Modified at: 2026-06-17T01:02:40Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12098
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0450 | nvd | 2018-01-19 |
References
| Url | Source | Tags |
|---|---|---|
| https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0450 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rails_admin_project:rails_admin | = 1.2.0 | no | nvd | /v1/products/rails_admin_project/rails_admin |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| sferik/rails_admin | product | yes | /v1/repositories/sferik/rails_admin |
| railsadminteam/rails_admin | product | yes | /v1/repositories/railsadminteam/rails_admin |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-01-19
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts