Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Sanitize Project | Sanitize | <= 4.6.0 |
Related Weaknesses (CWE)
References
- https://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-relea
- https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d4PatchThird Party Advisory
- https://github.com/rgrove/sanitize/issues/176Issue TrackingThird Party Advisory
- https://www.debian.org/security/2018/dsa-4358
- https://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-relea
- https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d4PatchThird Party Advisory
- https://github.com/rgrove/sanitize/issues/176Issue TrackingThird Party Advisory
- https://www.debian.org/security/2018/dsa-4358
FAQ
What is CVE-2018-3740?
CVE-2018-3740 is a vulnerability with a CVSS score of 7.5 (HIGH). A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.
How severe is CVE-2018-3740?
CVE-2018-3740 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-3740?
Check the references section above for vendor advisories and patch information. Affected products include: Sanitize Project Sanitize.