jQuery 4.1.0 and 3.8.0 fix a selector ReDoS and add responseURL and custom element serialization. 3.x is now fixes-only, so here’s how to move to 4.1.