jQuery 4.1.0 fixes ReDoS and updates Ajax

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
- Discussion ↗: 191
Measured: 18 Nov 2026, 16:52 UTC