XSS in Ryan Grove Sanitize (Ruby Gem)
CVE-2018-3740
A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.015 (72.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 73rd percentile — 72.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: -0.000
Affected products
- Ryan Grove Sanitize (Ruby Gem) — versions < 4.6.3
- Sanitize Project
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.debian.org/security/2018/dsa-4358 (vendor-advisory)
- github.com/rgrove/sanitize/issues/176 (Third Party Advisory, Issue Tracking)
- about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released/
- github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-3740?
- CVE-2018-3740 is a high-severity vulnerability in Ryan Grove Sanitize (Ruby Gem), classified under Cross-site Scripting. CVSS score: 7.5/10. Published 2018-03-30.
- How severe is CVE-2018-3740?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2018-3740 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.