Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2018-3740 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released/ | CVE | |
| https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e | CVE | PatchThird Party Advisory |
| https://github.com/rgrove/sanitize/issues/176 | CVE | Issue TrackingThird Party Advisory |
| https://www.debian.org/security/2018/dsa-4358 | CVE | |
| https://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released/ | [email protected] | |
| https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e | [email protected] | PatchThird Party Advisory |
| https://github.com/rgrove/sanitize/issues/176 | [email protected] | Issue TrackingThird Party Advisory |
| https://www.debian.org/security/2018/dsa-4358 | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sanitize project sanitize | <= 4.6.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 9, 2019 | CVE Modified | [email protected] |
| Dec 28, 2018 | CVE Modified | [email protected] |
| Aug 4, 2018 | CVE Modified | [email protected] |
| Apr 23, 2018 | Initial Analysis | [email protected] |