Class Pollution Vulnerability in Mesop Python UI Framework
CVE-2025-30358
8.1HIGH
What is CVE-2025-30358?
A class pollution vulnerability exists in the Mesop framework, allowing attackers to overwrite global variables and class attributes during runtime. This flaw can lead to various threats, including denial of service and identity confusion, where attackers might impersonate user roles, potentially facilitating jailbreak attacks in interactions with large language models. Similar to JavaScript's prototype pollution, this vulnerability can enable attackers to manipulate data-flow or control-flow, resulting in severe implications, including remote code execution if exploitable gadgets are present. It is crucial for users of Mesop to upgrade to version 0.14.1 for protection against this vulnerability.
Affected Version(s)
mesop < 0.14.1
