RubyGems package
sanitize
pkg:gem/sanitize
Vulnerabilities (4)
| CVE | Sev | CVSS | KEV | Affected versions | Fixed in | Published | Description |
|---|---|---|---|---|---|---|---|
| CVE-2023-36823 | — | >= 3.0.0, < 6.0.2 | 6.0.2 | Jul 6, 2023 | 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 o | ||
| CVE-2023-23627 | — | >= 5.0.0, < 6.0.1 | 6.0.1 | Jan 27, 2023 | 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 | ||
| CVE-2020-4054 | — | >= 3.0.0, < 5.2.1 | 5.2.1 | Jun 16, 2020 | 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 n | ||
| CVE-2018-3740 | — | >= 3.0.0, < 4.6.3 | 4.6.3 | Mar 30, 2018 | 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-2023-36823Jul 6, 2023affected >= 3.0.0, < 6.0.2fixed 6.0.2
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 o
- CVE-2023-23627Jan 27, 2023affected >= 5.0.0, < 6.0.1fixed 6.0.1
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
- CVE-2020-4054Jun 16, 2020affected >= 3.0.0, < 5.2.1fixed 5.2.1
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 n
- CVE-2018-3740Mar 30, 2018affected >= 3.0.0, < 4.6.3fixed 4.6.3
A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.