I love how new Minecraft Java Edition exploit allowing remote code execution via resource pack is using fonts to do that. I love computers.
Anyways, go patch your libraries for Minecraft.
(https://github.com/bikini/minecraft2shell for the technically minded, the fix is out on official launcher, https://github.com/aprilivy/HintFix mod for those not using official launchers but I can't vouch for it)