CVE-2018-3740
Sanitize Project Sanitize vulnerability
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
Sanitize. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sanitize Project Sanitize runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e · Patch
- github.com/rgrove/sanitize/issues/176 · Third Party Advisory
- about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released/
- www.debian.org/security/2018/dsa-4358
- nvd.nist.gov/vuln/detail/CVE-2018-3740
- cve.org/CVERecord?id=CVE-2018-3740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.