Is rails-html-sanitizer 1.6 vulnerable?

RubyGems · 3 releases from 1.6.0 to 1.6.2 · latest rails-html-sanitizer is 1.7.2 · checked 18 Nov 2026

Yes: 3 known advisories

Yes. rails-html-sanitizer 1.6.2, the last 1.6 release, is affected by 3 known security advisories (3 medium), including CVE-2026-128069, CVE-2026-128068, CVE-2026-73648. 5 more affect earlier 1.6.x releases. Upgrade to 1.7.2 or later to fix all of them.

Upgrade with:bundle update --conservative rails-html-sanitizer # Gemfile: '>= 1.7.2'

Is your project on an affected rails-html-sanitizer?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting rails-html-sanitizer 1.6.2

  • MediumCVE-2026-128069GHSA-h7wh-q2qr-458c13 Nov 2026

    rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls

    Affected
    <1.7.2
    Fixed in
    1.7.2
  • MediumCVE-2026-128068GHSA-cpgf-5mjf-73p713 Nov 2026

    rails-html-sanitizer: Possible regular expression denial of service with certain configurations

    Affected
    >=1.0.3 <1.7.2
    Fixed in
    1.7.2
  • MediumCVE-2026-73648GHSA-cj75-f6xr-r4g721 Jul 2026

    Rails HTML Sanitizers: Possible XSS vulnerability with certain configurations

    Affected
    >=1.0.3 <1.7.1
    Fixed in
    1.7.1

Fixed within 1.6.x, affecting earlier releases

  • LowCVE-2024-53989GHSA-rxv5-gxqc-xx8g2 Dec 2024

    rails-html-sanitizer has XSS vulnerability with certain configurations

    Affected
    >=1.6.0 <1.6.1
    Fixed in
    1.6.1
  • LowCVE-2024-53987GHSA-2x5m-9ch4-qgrr2 Dec 2024

    rails-html-sanitizer has XSS vulnerability with certain configurations

    Affected
    >=1.6.0 <1.6.1
    Fixed in
    1.6.1
  • LowCVE-2024-53988GHSA-cfjx-w229-hgx52 Dec 2024

    rails-html-sanitizer has XSS vulnerability with certain configurations

    Affected
    >=1.6.0 <1.6.1
    Fixed in
    1.6.1
  • LowCVE-2024-53986GHSA-638j-pmjw-jq482 Dec 2024

    rails-html-sanitizer has XSS vulnerability with certain configurations

    Affected
    >=1.6.0 <1.6.1
    Fixed in
    1.6.1
  • LowCVE-2024-53985GHSA-w8gc-x259-rc7x2 Dec 2024

    rails-html-sanitize has XSS vulnerability with certain configurations

    Affected
    >=1.6.0 <1.6.1
    Fixed in
    1.6.1

Every rails-html-sanitizer 1.6.x release

Affected: 1.6.0 to 1.6.2. Latest rails-html-sanitizer: 1.7.2.

VersionKnown advisories
rails-html-sanitizer 1.6.2CVE-2026-128069, CVE-2026-128068, CVE-2026-73648
rails-html-sanitizer 1.6.1CVE-2026-128069, CVE-2026-128068, CVE-2026-73648
rails-html-sanitizer 1.6.0CVE-2026-128069, CVE-2026-128068, CVE-2026-73648, CVE-2024-53989, CVE-2024-53987, CVE-2024-53988, CVE-2024-53986, CVE-2024-53985

Which of your client projects are still on rails-html-sanitizer 1.6?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact rails-html-sanitizer version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other rails-html-sanitizer versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.