International
The Morning Dev

Only the news worth knowing

‹
 

Release2 sources

jQuery 4.1.0

Hacker News: Front Page ·

The Brief · written from 2 sources

  • jQuery 4.1.0 has been released, per its GitHub release page.
  • A DEV Community author reports that a malicious selector took more than 120 seconds in jQuery 4.0.0 but about 4 ms in 4.1.0.
  • In the author's test, the 4.1.0 build threw a syntax error on the regression test input instead of hanging.

Why it matters

Applications that pass untrusted or user-supplied strings into jQuery selectors could hang under the 4.0.0 behaviour described in the report, so upgrading removes that risk.

Who’s affected

  • Teams using jQuery 4.0.x

What to do

  1. Upgrade to jQuery 4.1.0

Timeline

  1. jQuery 4.1.0 released

  2. Hacker News: Front Page

    jQuery 4.1.0

  3. DEV Community: javascript

    jQuery's 120-second hang now takes 4 ms in 4.1.0

Full coverage · 2 sources

How do you feel about this?

0 Comments