iOS 17: “memory issue was introduced in Apple’s JavaScriptCore framework which can (but doesn’t always) trigger crashes when JavaScript code is used in an app.”

Link. I like to wait until Apple insists I update. Usually takes a few weeks.