# CVE-2025-30358: Mesop Class Pollution vulnerability leads to DoS and Jailbreak attacks

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2025-03-27T14:49:11.592Z
- Modified: 2026-07-07T17:56:28.575Z
- Also known as: GHSA-f3mf-hm6v-jfhh, PYSEC-2026-1624
- Weaknesses: CWE-915
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Mesop is a Python-based UI framework that allows users to build web applications. A class pollution vulnerability in Mesop prior to version 0.14.1 allows attackers to overwrite global variables and class attributes in certain Mesop modules during runtime. This vulnerability could directly lead to a denial of service (DoS) attack against the server. Additionally, it could also result in other severe consequences given the application's implementation, such as identity confusion, where an attacker could impersonate an assistant or system role within conversations. This impersonation could potentially enable jailbreak attacks when interacting with large language models (LLMs). Just like the Javascript's prototype pollution, this vulnerability could leave a way for attackers to manipulate the intended data-flow or control-flow of the application at runtime and lead to severe consequences like remote code execution when gadgets are available. Users should upgrade to version 0.14.1 to obtain a fix for the issue.

(As written by CVE List.)

## Affected

- mesop-dev mesop: < 0.14.1
- mesop (PyPI): before 0.14.1

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/mesop-dev/mesop/security/advisories/GHSA-f3mf-hm6v-jfhh> (web)
- <https://github.com/mesop-dev/mesop/commit/748e20d4a363d89b841d62213f5b0c6b4bed788f> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-30358> (advisory)
- <https://github.com/mesop-dev/mesop> (package)
- <https://pypi.org/project/mesop> (package)
- <https://github.com/advisories/GHSA-f3mf-hm6v-jfhh> (advisory)

## Sources

- CVE List: [CVE-2025-30358](https://www.cve.org/CVERecord?id=CVE-2025-30358), CVE Terms of Use, modified 2025-03-27
- GitHub Advisory Database: [GHSA-f3mf-hm6v-jfhh](https://github.com/advisories/GHSA-f3mf-hm6v-jfhh), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-30358](https://nvd.nist.gov/vuln/detail/CVE-2025-30358), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1624](https://osv.dev/vulnerability/PYSEC-2026-1624), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-30358 · Whole record: https://cve.day/CVE-2025-30358.json · Rebuilt by cve.day 2026-11-25T22:58:55.629Z
