π¨ [security] Update rails-html-sanitizer 1.7.0 β 1.7.1 (patch) - #932
Merged
Merged
Conversation
Codecov Reportβ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #932 +/- ##
========================================
Coverage 96.93% 96.93%
========================================
Files 81 81
Lines 1861 1861
========================================
Hits 1804 1804
Misses 57 57
Flags with carried forward coverage won't be shown. Click here to find out more. β View full report in Codecov by Harness. π New features to boost your workflow:
|
Contributor
Author
|
Sorry, but the merge failed with:
|
depfu
Bot
force-pushed
the
depfu/update/rails-html-sanitizer-1.7.1
branch
from
July 28, 2026 12:25
48c6cab to
d9f05c7
Compare
Contributor
Author
|
Sorry, but the merge failed with:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
π¨ Your current dependencies have known security vulnerabilities π¨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
Security Advisories π¨
π¨ Rails HTML Sanitizers: Possible XSS vulnerability with certain configurations
Release Notes
1.7.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 10 commits:
version bump to v1.7.1Merge pull request #223 from rails/svg-href-local-refProperly restrict SVG href attributesAdjust data: URI mediatype tests for loofah 2.25.2 (#222)Harden GitHub Actions workflows (#220)dep(dev): update nokogiri (#219)build(deps-dev): bump concurrent-ruby from 1.3.6 to 1.3.7 (#218)dep(dev): update development dependencies (#217)Merge pull request #215 from yuri-zubov/reduce-gem-sizeReduce gem size by excluding test filesRelease Notes
1.0.7
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 26 commits:
Release 1.0.7Fix inefficient handling of non-ASCII characters during tokenizationPrevent a long run of adjacent comments from exhausting the stackLimit recursion depth to prevent stack overflow and memory exhaustionPrevent resource exhaustion denial of service via excessively large exponentsBump version to 1.0.7Update CI workflow dependenciesUpdate CI test matrixUpgrade minitest and rakeMerge pull request #18 from stoivo/mainUpdate links to point to the targeted versionname Test name look a bit nicerUpgrade minitest to 5.21.1Use actions/checkout@v4Add Ruby 3.2.x to the test matrixMerge pull request #13 from voxik/minitest519Fix compatibility with Minitest 5.19+Remove redundant Ruby 3.2 from the CI matrixAdd Ruby 3.1 and 3.2 to the CI matrix.Remove 1.9.3 and truffleruby from the test matrixReplace Travis with GitHub ActionsReformat readme and historyRemove copyright yearRequire mfaUpgrade dev dependenciesπ¨Security Advisories π¨
π¨ Loofah `allowed_uri?` does not detect `javascript:` URIs split by named whitespace character references
π¨ Loofah: SVG `href` attribute bypasses local-reference restriction
π¨ Loofah `allowed_uri?` does not detect `javascript:` URIs split by numeric character references without semicolons
Release Notes
2.25.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 14 commits:
version bump to v2.25.2Merge pull request #308 from flavorjones/security-2252Update `allowed_uri?` to decode semicolon-less numeric character referencesUpdate `allowed_uri?` to handle named whitespace character referencesProperly restrict SVG href attributestest: opt into JSON comment parsing for sanitizer testdata (#307)test: do not run in verbose modedoc: update CHANGELOGMerge pull request #305 from flavorjones/drop-protocol-typoversion bump to 2.25.2.beta1Harden `data:` URI mediatype parsingRemove `p` from PROTOCOL_SEPARATORMerge pull request #304 from flavorjones/drop-feed-protocolRemove `feed` from the default allowed protocolsDepfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands