Backport security fixes from Firefox 128.8.1esr

Edited by morgan