Vulnerability · Published Sep 23, 2026 · Assigned by GitHub_M
CVE-2026-93421Mesop: Unauthenticated ANSI Escape Sequence Injection in CSP Reporting Endpoint
Medium 5.3
In plain English
A medium-severity security flaw in mesop from mesop-dev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Mesop is a Python-based UI framework that allows users to build web applications. Prior to 1.3.4, the unauthenticated /__csp__ endpoint passes attacker-controlled document-uri, blocked-uri, and violated-directive values to the csp_report handler in mesop/server/static_file_serving.py, which prints them to standard output without neutralizing terminal control sequences. When an operator views the resulting logs in an ANSI-capable terminal, injected ANSI or VT100 sequences can clear or reposition the display, hide text, or present forged messages, reducing the integrity of monitoring and incident-response output. This issue is fixed in version 1.3.4.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | mesop | 1.3.4 | GHSA-g7f6-rxc4-qhph |
| PyPI | mesop | 1.3.4 | PYSEC-2026-4105 |
Affected products (as reported)
Weakness: CWE-117, CWE-150 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
References
- https://github.com/mesop-dev/mesop/security/advisories/GHSA-g7f6-rxc4-qhph x_refsource_CONFIRM
- https://github.com/mesop-dev/mesop/pull/1397 x_refsource_MISC
- https://github.com/mesop-dev/mesop/commit/f38c42a1d3eba246941ef8d7f645072d53c58785 x_refsource_MISC
- https://github.com/mesop-dev/mesop/releases/tag/v1.3.4 x_refsource_MISC