Is rails-html-sanitizer 1.7 vulnerable?
RubyGems · 3 releases from 1.7.0 to 1.7.2 · latest rails-html-sanitizer is 1.7.2 · checked 18 Nov 2026
No known advisories in the last release
rails-html-sanitizer 1.7.2, the last 1.7 release, has no known advisories. 3 advisories affect earlier 1.7.x releases, so update to 1.7.2.
bundle update --conservative rails-html-sanitizer # Gemfile: '>= 1.7.2'Is your project on an affected rails-html-sanitizer?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Fixed within 1.7.x, affecting earlier releases
rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls
- Affected
- <1.7.2
- Fixed in
- 1.7.2
rails-html-sanitizer: Possible regular expression denial of service with certain configurations
- Affected
- >=1.0.3 <1.7.2
- Fixed in
- 1.7.2
Rails HTML Sanitizers: Possible XSS vulnerability with certain configurations
- Affected
- >=1.0.3 <1.7.1
- Fixed in
- 1.7.1
Every rails-html-sanitizer 1.7.x release
Affected: 1.7.0 to 1.7.1. 1.7.2 is not affected.
| Version | Known advisories |
|---|---|
| rails-html-sanitizer 1.7.2 | None |
| rails-html-sanitizer 1.7.1 | CVE-2026-128069, CVE-2026-128068 |
| rails-html-sanitizer 1.7.0 | CVE-2026-128069, CVE-2026-128068, CVE-2026-73648 |
Which of your client projects are still on rails-html-sanitizer 1.7?
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.