RC RANDOM CHAOS

jQuery 4.1.0 Fixes ReDoS, Modernizes APIs

· via Hacker News

Original source

jQuery 4.1.0

Hacker News →

jQuery 4.1.0 patches a ReDoS vulnerability in identifier matching and modernizes core functionality. The library replaces deprecated getElementsByTagName and getElementsByClassName methods with querySelectorAll, refactors loops to prevent array bounds violations, and includes a Safari 27 regex interpreter workaround.

The Ajax layer gains a responseURL field for jqXHR objects and an alternative callback API for transports. CSS improvements add XML document support through createElementNS and fix style probe table reuse. TuxCare joins as a commercial support vendor, while test coverage expands across AJAX binary operations, SVG element data handling, and serialization.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.