GHSA-7f42-p84j-f58p · Severity: high · Ecosystem: rubygems — Sanitize vulnerable to Improper Input Validation and Cross-site Scripting
A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.
Conclusion & alert: CVE-2018-3740 is rated Moderate Risk (56.2/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.52%). Core evidence: EPSS rose +1.27% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.25% | 1.52% | +1.27% |
| 2 | 2025-03-30 | 0.86% | 0.25% | -0.61% |
| 3 | 2025-03-29 | — | 0.86% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.0 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
GHSA-7f42-p84j-f58p · Severity: high · Ecosystem: rubygems — Sanitize vulnerable to Improper Input Validation and Cross-site Scripting
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2018-3740 not yet assigned priority: Debian including 1 source packages (ruby-sanitize), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2018-3740 |
ubuntu
|
medium | CVE-2018-3740 medium priority: Ubuntu including 1 source packages (ruby-sanitize), 6 status rows across 6 suites (artful, bionic, cosmic, trusty, upstream, xenial): released 3, DNE 1, ignored 1, not-affected 1. | https://ubuntu.com/security/CVE-2018-3740 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| sanitize_project | sanitize | <= 4.6.0 | cpe:2.3:a:sanitize_project:sanitize:*:*:*:*:*:ruby:*:* |
| URL | Tags |
|---|---|
| https://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released/ | |
| https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e | Patch Third Party Advisory |
| https://github.com/rgrove/sanitize/issues/176 | Issue Tracking Third Party Advisory |
| https://www.debian.org/security/2018/dsa-4358 |