Skip to content

Bump rails-html-sanitizer from 1.6.0 to 1.7.1 - #53

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/rails-html-sanitizer-1.4.4
Open

Bump rails-html-sanitizer from 1.6.0 to 1.7.1#53
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/rails-html-sanitizer-1.4.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 14, 2022

Copy link
Copy Markdown
Contributor

Bumps rails-html-sanitizer from 1.6.0 to 1.7.1.

Release notes

Sourced from rails-html-sanitizer's releases.

v1.7.1 / 2026-07-15

  • SVG reference elements now restrict both href and xlink:href to local references.

    Previously PermitScrubber restricted only xlink:href on elements in SVG_ALLOW_LOCAL_HREF, so a plain href attribute on those elements could reference an external document. Applications are only affected if the allowed tags are overridden to include an SVG reference element such as use; the default configuration is not affected.

    This change addresses GHSA-cj75-f6xr-r4g7 (CVE requested). The minimum Loofah dependency is now ~> 2.25, >= 2.25.2.

    Mike Dalessio @​flavorjones

v1.7.0 / 2026-02-24

  • Add Rails::HTML::Sanitizer.allowed_uri? which delegates to Loofah::HTML5::Scrub.allowed_uri?, allowing the Rails framework to check URI safety without a direct dependency on Loofah.

    The minimum Loofah dependency is now ~> 2.25.

    Mike Dalessio @​flavorjones

v1.6.2 / 2024-12-12

  • PermitScrubber fully supports frozen "allowed tags".

    v1.6.1 introduced safety checks that may remove unsafe tags from the allowed list, which introduced a regression for applications passing a frozen array of allowed tags. Tags and attributes are now properly copied when they are passed to the scrubber.

    Fixes #195.

    Mike Dalessio

1.6.1 / 2024-12-02

This is a performance and security release which addresses several possible XSS vulnerabilities.

  • The dependency on Nokogiri is updated to v1.15.7 or >=1.16.8.

    This change addresses CVE-2024-53985 (GHSA-w8gc-x259-rc7x).

    Mike Dalessio

  • Disallowed tags will be pruned when they appear in foreign content (i.e. SVG or MathML content), regardless of the prune: option value. Previously, disallowed tags were "stripped" unless the gem was configured with the prune: true option.

... (truncated)

Changelog

Sourced from rails-html-sanitizer's changelog.

v1.7.1 / 2026-07-15

  • SVG reference elements now restrict both href and xlink:href to local references.

    Previously PermitScrubber restricted only xlink:href on elements in SVG_ALLOW_LOCAL_HREF, so a plain href attribute on those elements could reference an external document. Applications are only affected if the allowed tags are overridden to include an SVG reference element such as use; the default configuration is not affected.

    This change addresses GHSA-cj75-f6xr-r4g7 (CVE requested). The minimum Loofah dependency is now ~> 2.25, >= 2.25.2.

    Mike Dalessio

v1.7.0 / 2026-02-24

  • Add Rails::HTML::Sanitizer.allowed_uri? which delegates to Loofah::HTML5::Scrub.allowed_uri?, allowing the Rails framework to check URI safety without a direct dependency on Loofah.

    The minimum Loofah dependency is now ~> 2.25.

    Mike Dalessio

v1.6.2 / 2024-12-12

  • PermitScrubber fully supports frozen "allowed tags".

    v1.6.1 introduced safety checks that may remove unsafe tags from the allowed list, which introduced a regression for applications passing a frozen array of allowed tags. Tags and attributes are now properly copied when they are passed to the scrubber.

    Fixes #195.

    Mike Dalessio

1.6.1 / 2024-12-02

This is a performance and security release which addresses several possible XSS vulnerabilities.

  • The dependency on Nokogiri is updated to v1.15.7 or >=1.16.8.

    This change addresses CVE-2024-53985 (GHSA-w8gc-x259-rc7x).

    Mike Dalessio

  • Disallowed tags will be pruned when they appear in foreign content (i.e. SVG or MathML content), regardless of the prune: option value. Previously, disallowed tags were "stripped" unless the

... (truncated)

Commits
  • 4f37e3d version bump to v1.7.1
  • b4673b9 Merge pull request #223 from rails/svg-href-local-ref
  • 74dcb80 Properly restrict SVG href attributes
  • 11ee440 Adjust data: URI mediatype tests for loofah 2.25.2 (#222)
  • bc9622c Harden GitHub Actions workflows (#220)
  • 3459ffd dep(dev): update nokogiri (#219)
  • 8aa4bb2 build(deps-dev): bump concurrent-ruby from 1.3.6 to 1.3.7 (#218)
  • 4ddc0c7 dep(dev): update development dependencies (#217)
  • f87abb4 Merge pull request #215 from yuri-zubov/reduce-gem-size
  • 527b317 Reduce gem size by excluding test files
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 14, 2022
@jrhoads

jrhoads commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer) from 1.6.0 to 1.7.1.
- [Release notes](https://github.com/rails/rails-html-sanitizer/releases)
- [Changelog](https://github.com/rails/rails-html-sanitizer/blob/main/CHANGELOG.md)
- [Commits](rails/rails-html-sanitizer@v1.6.0...v1.7.1)

---
updated-dependencies:
- dependency-name: rails-html-sanitizer
  dependency-version: 1.4.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump rails-html-sanitizer from 1.3.0 to 1.4.4 Bump rails-html-sanitizer from 1.6.0 to 1.7.1 Aug 24, 2026
@dependabot
dependabot Bot force-pushed the dependabot/bundler/rails-html-sanitizer-1.4.4 branch from 7d6932e to f0035b4 Compare August 24, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant