Cyber Posture

CVE-2025-30358

High

Published: 27 March 2025

Published
27 March 2025
Modified
15 April 2026
KEV Added
Patch
CVSS Score 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS Score 0.0312 86.9th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

Description

Adversaries may impersonate a trusted person or organization in order to persuade and trick a target into performing some action on their behalf.

Security Summary

CVE-2025-30358 is a class pollution vulnerability affecting Mesop, a Python-based UI framework for building web applications, in versions prior to 0.14.1. The flaw allows attackers to overwrite global variables and class attributes in certain Mesop modules during runtime, akin to JavaScript prototype pollution. This manipulation can alter the application's data-flow or control-flow, with a CVSS v3.1 base score of 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H) and is classified under CWE-915.

Attackers with low privileges, such as authenticated users accessible over the network, can exploit this vulnerability without user interaction. Successful exploitation directly enables denial-of-service (DoS) attacks against the server by disrupting availability. It also facilitates identity confusion, allowing impersonation of assistant or system roles in conversations, which could enable jailbreak attacks when Mesop interacts with large language models (LLMs). Depending on the application's implementation and available gadgets, it may escalate to remote code execution.

The Mesop security advisory (GHSA-f3mf-hm6v-jfhh) and associated patch commit recommend upgrading to version 0.14.1, which addresses the class pollution issue by preventing unauthorized overwrites of global variables and class attributes.

This vulnerability has particular relevance to AI/ML deployments, as its potential for LLM jailbreaks highlights risks in frameworks bridging UI and language model interactions, though no real-world exploitation has been reported.

Details

CWE(s)
CWE-915

AI Security Analysis

AI Category
Enterprise AI Assistants
Risk Domain
LLM/Generative AI Risks
OWASP Top 10 for LLMs 2025
None mapped
MITRE ATLAS Techniques
None mapped
Classification Reason
Mesop is a Python-based UI framework for building web applications, commonly used in AI contexts involving assistants and LLMs. The vulnerability enables impersonation of assistant or system roles in conversations, facilitating jailbreak attacks on LLMs, aligning with Enterprise AI Assistants.

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1684.001 Impersonation Stealth
Adversaries may impersonate a trusted person or organization in order to persuade and trick a target into performing some action on their behalf.
Why these techniques?

Class pollution vulnerability in Mesop web framework enables exploitation of public-facing applications (T1190) for potential RCE via runtime control-flow manipulation, application-level DoS (T1499.004), and impersonation of assistant/system roles (T1656).

References