Improper validation of removing package name in Galaxy Themes prior to SMR May-2022 Release 1 allows attackers to uninstall arbitrary packages without permission. The patch adds proper validation logic for removing package name.
https://security.samsungmobile.com/securityUpdate.smsb?year=2022&month=5