What’s Vulnerable › Vulnerabilities
CVE-2018-3740
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-03-30 · updated 2026-06-17
- Weakness: CWE-79
Description
A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.
Affected products
- rgrove sanitize: through 4.6.0
References
- https://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released/
- https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e
- https://github.com/rgrove/sanitize/issues/176
- https://www.debian.org/security/2018/dsa-4358
- https://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released/
- https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e
- https://github.com/rgrove/sanitize/issues/176
- https://www.debian.org/security/2018/dsa-4358
Get alerted when CVE-2018-3740 or the next vulnerability affects your stack