You can install mods in "Minecraft" by playing the "Java Edition" and using the third-party app Minecraft Forge.
Minecraft players and server operators are facing new security risks following the discovery of a vulnerability in certain mods and subsequent mod packs that allows remote code execution if exploited.