CISA list

● RubyGems gem

sanitize

Sanitize has four security advisories. The newest release any of them names as the fix is 6.0.2.

As of , sanitize has four security advisories. The newest release any of them names as the fix is 6.0.2.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 3.0.0 before 6.0.26.0.24 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2023-36823GHSA-f5ww-cq3m-q3g7Sanitize vulnerable to Cross-site Scripting via insufficient neutralization of `style` element contentHigh severityFrom 3.0.0 before 6.0.26.0.2
CVE-2023-23627GHSA-fw3g-2h3j-qmm7Improper neutralization of `noscript` element content may allow XSS in SanitizeModerate severityFrom 5.0.0 before 6.0.16.0.1
CVE-2020-4054GHSA-p4x4-rw2p-8j8mCross-site Scripting in SanitizeHigh severityFrom 3.0.0 before 5.2.15.2.1
CVE-2018-3740GHSA-7f42-p84j-f58pSanitize vulnerable to Improper Input Validation and Cross-site ScriptingHigh severityFrom 3.0.0 before 4.6.34.6.3

Other RubyGems gems

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0