VYPR

Sanitize

by Sanitize Project

Source repositories

CVEs (4)

  • CVE-2018-3740HigMar 30, 2018
    risk 0.42cvss 7.5epss 0.01

    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-2020-4054HigJun 16, 2020
    risk 0.41cvss 7.3epss 0.02

    In Sanitize (RubyGem sanitize) greater than or equal to 3.0.0 and less than 5.2.1, there is a cross-site scripting vulnerability. When HTML is sanitized using Sanitize's "relaxed" config, or a custom config that allows certain elements, some content in a math or svg element may…

  • CVE-2023-36823HigJul 6, 2023
    risk 0.39cvss 7.1epss 0.01

    Sanitize is an allowlist-based HTML and CSS sanitizer. Using carefully crafted input, an attacker may be able to sneak arbitrary HTML and CSS through Sanitize starting with version 3.0.0 and prior to version 6.0.2 when Sanitize is configured to use the built-in "relaxed" config…

  • CVE-2023-23627MedJan 28, 2023
    risk 0.33cvss 6.1epss 0.01

    Sanitize is an allowlist-based HTML and CSS sanitizer. Versions 5.0.0 and later, prior to 6.0.1, are vulnerable to Cross-site Scripting. When Sanitize is configured with a custom allowlist that allows `noscript` elements, attackers are able to include arbitrary HTML, resulting…