NEWSFEVER
Technology worth discussing24 / 7 · RU + EN
Back to feedDevelopment & Open Source

jQuery 4.1.0 fixes ReDoS and updates Ajax

The release includes selector fixes, a Safari 27 workaround, Ajax additions and changes supporting XML documents.

Published: 17 Nov 2026, 21:00 UTC
A network of nested document nodes, a modular block and a shield symbolize a library update and a vulnerability fix.
Editorial illustration of the jQuery 4.1.0 update and selector-module fixes.

jQuery 4.1.0 has been released. According to its GitHub release notes, the selector module fixes a ReDoS vulnerability in identifier matching and adds a workaround for a Safari 27 regular-expression interpreter bug. It also corrects the runescape expression in unescapeSelector and decodes invalid escaped code points to the replacement character U+FFFD.

For Ajax, the jqXHR object gains a responseURL field, while transports receive support for an alternative completeCallback API. Core loops have been refactored to avoid going beyond array bounds, and getElementsByTagName and getElementsByClassName have been replaced with querySelectorAll. Selector changes also optimize duplicate removal in jQuery.uniqueSort and tighten quick selection paths.

CSS changes include using createElementNS to support XML documents and emptying the computeTableStyleTests probe table when it might be reused. New tests cover jQuery.text, callback-only animation signatures and .data() on SVG elements.

The release also expands test coverage for serialization, jQuery.ajaxPrefilter and jQuery.ajaxTransport, and re-enables Ajax binary-data tests in Internet Explorer. Documentation adds TuxCare as a commercial support vendor and introduces guidelines for machine-generated contributions. The active-version table and the jQuery NES HeroDevs link have also been updated.

Original source: github.com ↗

Comments on source platforms

Rank is the maximum of the latest discussion counts. These are source metrics.

Hacker News