CVE-2018-3740: Sanitize Project Sanitize

High severity, CVSS 7.5. EPSS: 1.5% chance of exploitation in the next 30 days.

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

Published 2018-03-30. Last modified 2026-06-17.