Mesop before 1.3.5 contains a class-level attribute pollution vulnerability in _recursive_update_dataclass_from_json_obj() that allows unauthenticated attackers to modify shared class attributes via crafted state JSON. Attackers can send /__ui__ UserEvent state walking non-dunder keys into class-level objects to tamper with configuration or role data and break rendering across all sessions.
https://github.com/mesop-dev/mesop/security/advisories/GHSA-683v-j9wx-qrw3
https://github.com/mesop-dev/mesop/releases/tag/v1.3.5
https://github.com/mesop-dev/mesop/commit/c993b0109b14a2e51946bbc3dd283cd00189276b
https://github.com/mesop-dev/mesop/blob/v1.3.4/mesop/dataclass_utils/dataclass_utils.py#L130-L171