Debian Ruby-Sanitize vulnerabilities

4 known vulnerabilities affecting debian/ruby-sanitize.

Total CVEs
4
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH3MEDIUM1

Vulnerabilities

Page 1 of 1
CVE-2023-36823HIGHCVSS 7.1fixed in ruby-sanitize 6.0.0-1.1+deb12u1 (bookworm)2023
CVE-2023-36823 [HIGH] CVE-2023-36823: ruby-sanitize - Sanitize is an allowlist-based HTML and CSS sanitizer. Using carefully crafted i... 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 or when using a custom config that allows `style` elements and one or more CSS at-r
debian
CVE-2023-23627MEDIUMCVSS 6.1fixed in ruby-sanitize 6.0.0-1.1 (bookworm)2023
CVE-2023-23627 [MEDIUM] CVE-2023-23627: ruby-sanitize - Sanitize is an allowlist-based HTML and CSS sanitizer. Versions 5.0.0 and later,... 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 in XSS (cross-site scripting) or other undesired behavior when that HTML is render
debian
CVE-2020-4054HIGHCVSS 7.3fixed in ruby-sanitize 4.6.6-2.1 (bookworm)2020
CVE-2020-4054 [HIGH] CVE-2020-4054: ruby-sanitize - In Sanitize (RubyGem sanitize) greater than or equal to 3.0.0 and less than 5.2.... 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 not be sanitized correctly even if math and svg are not in the allowlist. You are lik
debian
CVE-2018-3740HIGHCVSS 7.5fixed in ruby-sanitize 4.6.6-1 (bookworm)2018
CVE-2018-3740 [HIGH] CVE-2018-3740: ruby-sanitize - A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-w... A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element. Scope: local bookworm: resolved (fixed in 4.6.6-1) bullseye: resolved (fixed in 4.6.6-1) forky: resolved (fixed in 4.6.6-1) sid: resolved (fixed in 4.6.6-1) trixie: resolved (fixed in 4.6.6-1)
debian