Repository navigation
Conversation
jQuery 4.1.0 and 3.8.0, released on 2026-11-17, fix a ReDoS in selector identifier matching, where a long chain of escapes followed by an invalid character could hang the page. The admin UI moves from the jQuery 4.0.0 webjar to 4.1.0. The Gaurav theme's bundled jquery.js moves from 3.7.1 to 3.8.0, the unmodified jquery.min.js from the npm package (integrity checked), so the theme's Bootstrap 3 plugins keep the 3.x API. LICENSE, the binary LICENSE and CHANGES name the new versions.
Bootstrap 3's JavaScript refuses to run with jQuery 4, and the theme used it only for the navbar's collapse button and Categories dropdown. A small script, js/navbar.js, now toggles the same Bootstrap 3 CSS classes (in and open) and aria-expanded, closes the dropdown on an outside click or Escape, and needs no library. jquery.js and bootstrap.js are removed from the theme, its theme.xml and the LICENSE files, so the admin UI's jQuery 4.1.0 is the only jQuery left in Roller. The theme keeps Bootstrap 3.4.1's CSS, so it looks the same. Weblogs that customized the theme keep their own copies of the old files.
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.
jQuery 4.1.0 and 3.8.0 came out on 2026-11-17 with a fix for a ReDoS in selector identifier matching: a long chain of escapes followed by an invalid character could hang the page.
js/navbar.js, now toggles the same Bootstrap 3 CSS classes andaria-expanded, and closes the dropdown on an outside click or Escape. The theme keeps Bootstrap 3.4.1's CSS, so it looks the same.I checked
navbar.jswith the theme's Bootstrap CSS and its navbar markup at 390px and 1280px wide. The phone menu opens and closes, and the dropdown opens, closes again, and closes on an outside click and on Escape, with no script errors.Weblogs that customized the theme keep their own copies of the old files. The 6.1.x changes are in #349 and #350.