台灣 AI x AEC 情報BY FBI SICENTER
AI × AEC · CURATED INSIGHT

jQuery Releases 4.1.0 and 3.8.0 to Patch Selector ReDoS Vulnerability

Cybersecurity and privacy

The jQuery team released versions 4.1.0 and 3.8.0, fixing a Regular Expression Denial of Service (ReDoS) vulnerability in CSS selector parsing. Version 3.8.0 marks the final scheduled feature release for 3.x, limiting future updates to critical security and bug fixes while new development shifts to 4.x. Version 4.1.0 also enhances element querying performance and reduces algorithmic complexity.

jQuery Releases 4.1.0 and 3.8.0 to Patch Selector ReDoS Vulnerability
AI-generated concept illustration; not an event photograph.

The jQuery development team has released versions 4.1.0 and 3.8.0, both fixing a Regular Expression Denial of Service (ReDoS) vulnerability that could freeze web pages. Officials also stated that 3.8.0 is the final scheduled feature update for the 3.x series, which will receive only critical security and bug fixes going forward as feature work shifts to 4.x. Both versions are available through official CDN and NPM package management tools.

Key takeaways

  • Both releases patch a ReDoS vulnerability in CSS selector parsing caused by repeated hexadecimal escape sequences followed by invalid characters.
  • Version 3.8.0 consolidates accumulated fixes and deprecates legacy APIs removed in 4.x, concluding scheduled feature releases for the 3.x branch.
  • Version 4.1.0 adopts browser-native querySelectorAll for element selection and reduces duplicate element removal complexity from O(N²) to O(N).
  • Version 4.1.0 adds the responseURL property to jqXHR objects, improves custom element form handling, and streamlines AJAX callback signatures.

Source:iThome Read the original ↗

Prepared, checked and automatically published by AI; not individually reviewed by a human. Translation checked by AI.

← All articles