RepoJournal
Rails

@rails

Ruby on Rails — Shopify, Basecamp, GitHub all run on it

Pick a date

Topics: Ruby Full archive →

The Wire · Showcase

SVG SANITIZER VULNERABILITY PATCHED, RAILS DOCS OVERHAULED

By RepoJournal · Filed · About Rails

Rails-html-sanitizer 1.7.1 shipped overnight to plug an SVG href vulnerability that slipped through the xlink-only fix.

The rails-html-sanitizer team closed a critical gap in SVG sanitization [1] where plain `href` attributes on reference elements like `<use>` could still pull external documents, bypassing the security model that restricted only `xlink:href`. Version 1.7.1 [2] now enforces both attributes via Loofah's SVG_HREF_ATTRIBUTES set, matching upstream security fixes. Meanwhile, Rails core pushed forward on documentation and dependency fixes [4]. A follow-up PR addressing missing ActiveSupport requires across 27 files [3] ensures core extensions actually load without silent failures, fixing the kind of NoMethodError that only surfaces in production. Smaller polish landed on Relation query docs [5] and Rubocop violations, keeping the codebase clean between major cycles.

Action items

References

  1. [1] Properly restrict SVG href attributes rails/rails-html-sanitizer
  2. [2] v1.7.1 ↗ rails/rails-html-sanitizer
  3. [3] Add missing ActiveSupport core extension and feature requires ↗ rails/rails
  4. [4] [RF-Docs] [ci-skip] Update the Rails Generators guide ↗ rails/rails
  5. [5] Fix `Relation#one?` doc example calling `any?` [ci skip] rails/rails

Quick answers

What shipped in Rails on July 16, 2026?
Rails-html-sanitizer 1.7.1 shipped overnight to plug an SVG href vulnerability that slipped through the xlink-only fix. In total, 18 commits, 10 pull requests, and 1 releases landed.
Who contributed to Rails on July 16, 2026?
6 developers shipped this update, including bhumi1102, 55728, Ryuta Kamizono, Jerome Dalbert, Mike Dalessio, and Xavier Noria.
What were the notable Rails updates?
Properly restrict SVG href attributes, v1.7.1, and Add missing ActiveSupport core extension and feature requires.

More from @rails

Daily updates, in your inbox

Follow Rails

Ruby on Rails — Shopify, Basecamp, GitHub all run on it We'll email you a link to confirm first.

Free. Confirm via email. Unsubscribe in one click.

— or follow the whole beat:

Elsewhere on the wire