sanitize
RubyGems4 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting sanitizepage 1 of 1
- CVE-2018-3740HIGHCVSS 7.5EG 7.5✓ Fixed in 4.6.32018-03-30
vulnerable: 3.0.0 ... 4.6.2 (18 versions)
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-4054HIGHCVSS 7.3EG 7.3✓ Fixed in 5.2.12020-06-16
vulnerable: 3.0.0 ... 5.2.0 (25 versions)
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, so…
- CVE-2023-23627MEDIUMCVSS 6.1EG 6.1✓ Fixed in 6.0.12023-01-28
vulnerable: 5.0.0 ... 6.0.0 (7 versions)
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 abl…
- CVE-2023-36823HIGHCVSS 7.1EG 7.1✓ Fixed in 6.0.22023-07-06
vulnerable: 3.0.0 ... 6.0.1 (30 versions)
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 configur…
Check whether sanitize is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for sanitize CVEs against the assets you own.
Start Free Scan →