Interesting! Didn't realize Ubuntu had included it already. I almost always assumed Ubuntu package manager is always behind by a few versions (like it is for everything else).
for firefox there is really not any other way, because security updates are not backported. So either you have (ubuntu, ...) to pick latest or ancient ESR.