This is an automated email from the ASF dual-hosted git repository. mraible pushed a commit to branch jquery-4.1.0 in repository https://gitbox.apache.org/repos/asf/roller.git
commit e395a7a63fc71a030ccd588cc2d855976b7112aa Author: Matt Raible <[email protected]> AuthorDate: Wed Nov 18 07:13:46 2026 -0700 Upgrade jQuery to 4.1.0 and the Gaurav theme's jQuery to 3.8.0 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. --- CHANGES.md | 2 +- LICENSE | 2 +- app/pom.xml | 2 +- app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp | 2 +- app/src/main/webapp/themes/gaurav/js/jquery.js | 4 ++-- binary-includes/LICENSE.txt | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 914cdb79e..864040b7c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -260,7 +260,7 @@ - The source distribution now extracts to `apache-roller-<version>-source/`, matching its file name, instead of `roller-weblogger-<version>-source/`. - ROME, the feed library Planet uses, is upgraded from 1.19.0 to 2.1.0. -- The admin UI now uses jQuery 4.0.0 and jQuery Validation 1.22.1. +- The admin UI now uses jQuery 4.1.0 and jQuery Validation 1.22.1. ## 6.1.7 diff --git a/LICENSE b/LICENSE index 59e1c9a0d..9252c12e5 100644 --- a/LICENSE +++ b/LICENSE @@ -242,7 +242,7 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------- -This product bundles jQuery 3.7.1, which is available under a "MIT" license. +This product bundles jQuery 3.8.0, which is available under a "MIT" license. For details, see app/src/main/webapp/themes/gaurav/js/jquery.js https://jquery.org/license/ diff --git a/app/pom.xml b/app/pom.xml index ae03b365c..eaab16065 100644 --- a/app/pom.xml +++ b/app/pom.xml @@ -278,7 +278,7 @@ limitations under the License. <dependency> <groupId>org.webjars</groupId> <artifactId>jquery</artifactId> - <version>4.0.0</version> + <version>4.1.0</version> </dependency> <dependency> diff --git a/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp b/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp index a77ee3307..cee6f4ae1 100644 --- a/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp +++ b/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp @@ -26,7 +26,7 @@ You can override it with your own file via WEB-INF/tiles-def.xml <%-- salt issued with this response, read by refreshSalt() after an AJAX post --%> <meta name="roller-salt" content="<s:property value="salt"/>" /> -<script src="<s:url value='/webjars/jquery/4.0.0/jquery.min.js' />"></script> +<script src="<s:url value='/webjars/jquery/4.1.0/jquery.min.js' />"></script> <%-- jquery-ui webjar is 1.14.2+1 in pom.xml, but its resources are served under the plus-free path: the +N is a webjar build suffix, not part of diff --git a/app/src/main/webapp/themes/gaurav/js/jquery.js b/app/src/main/webapp/themes/gaurav/js/jquery.js index 7f37b5d99..f69604f98 100644 --- a/app/src/main/webapp/themes/gaurav/js/jquery.js +++ b/app/src/main/webapp/themes/gaurav/js/jquery.js @@ -1,2 +1,2 @@ -/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue [...] +/*! jQuery v3.8.0 | (c) OpenJS Foundation and other contributors | jquery.com/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(oe,e){"use strict";function g(e){return null!=e&&e===e.window}var ae=[],r=Object.getPrototypeOf,se=ae.slice,y=ae.flat?function(e){return ae.flat.call(e)}:function(e){return ae.concat.apply([],e)},s=ae.push,ue=ae.indexOf [...] \ No newline at end of file diff --git a/binary-includes/LICENSE.txt b/binary-includes/LICENSE.txt index f94bf054a..bdabde17e 100644 --- a/binary-includes/LICENSE.txt +++ b/binary-includes/LICENSE.txt @@ -246,7 +246,7 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------- -This product bundles jQuery 3.7.1, which is available under a "MIT" license. +This product bundles jQuery 3.8.0, which is available under a "MIT" license. For details, see themes/gaurav/js/jquery.js https://jquery.org/license/ @@ -753,7 +753,7 @@ available under a "MIT" license: clipboard.js 2.0.11 (org.webjars:clipboard.js) Copyright (c) Zeno Rocha https://github.com/zenorocha/clipboard.js/blob/master/LICENSE - jQuery 4.0.0 (org.webjars:jquery) + jQuery 4.1.0 (org.webjars:jquery) Copyright OpenJS Foundation and other contributors https://jquery.org/license/ jQuery UI 1.14.2 (org.webjars:jquery-ui) @@ -766,7 +766,7 @@ available under a "MIT" license: Copyright (c) 2015~ Summernote Team https://github.com/summernote/summernote/blob/main/LICENSE -The MIT License text is in the jQuery 3.7.1 section above. +The MIT License text is in the jQuery 3.8.0 section above. ------------------------------------------------------------------------------- The PDF guides in the docs/ directory of the binary distribution embed
