ADVISORIES

Vulnerability

CVE-2018-3740

A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.

4 advisories report this vulnerability, across 3 ecosystems.

Advisories in Debian

  • DEBIAN-CVE-2018-3740

    A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.

    CVE-2018-3740 Debian Updated 23 October 2026
  • DSA-4358-1

    ruby-sanitize - security update

    CVE-2018-3740 Debian Updated 20 November 2026

References