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)
EPSS: 0.015 (72.0th percentile) — read the EPSS interpretation.
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.
Affected products
- Ryan Grove Sanitize (Ruby Gem) — versions < 4.6.3
- Sanitize_project Sanitize
Weakness classification (CWE)
Public proof-of-concept exploits
References
- support@hackerone.com (vendor-advisory, x_refsource_DEBIAN)
- support@hackerone.com (x_refsource_CONFIRM, Third Party Advisory, Issue Tracking)
- support@hackerone.com (x_refsource_CONFIRM)
- support@hackerone.com (x_refsource_CONFIRM, 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.