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.
Published: 2026-09-23
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Log tampering via ANSI sequences
Action: Patch
AI Analysis

Impact

Mesop, a Python UI framework, allowed unauthenticated access to the /__csp__ endpoint in versions before 1.3.4. The endpoint forwarded attacker‑controlled document‑uri, blocked‑uri, and violated‑directive values to the csp_report handler without neutralizing terminal control characters. This behavior exploits CWE‑117 and CWE‑150, allowing the printed values to contain ANSI or VT‑100 escape sequences. When these values are written to standard output, an operator examining the logs in an ANSI‑capable terminal could inject escape sequences that clear, reposition, or hide portions of the display or insert forged messages, thereby compromising the integrity of monitoring and incident‑response information.

Affected Systems

The affected product is Mesop by mesop-dev. All releases prior to 1.3.4 are vulnerable; version 1.3.4 and later contain the fix.

Risk and Exploitability

The CVSS score is 5.3, indicating a medium impact. EPSS is not available, and the vulnerability is not listed in CISA’s KEV catalog. Attackers can exploit the unauthenticated endpoint to inject ANSI or VT‑100 sequences that manipulate log presentation for anyone viewing the logs on a terminal. This does not grant code execution but can mislead operators, obscure indicators of compromise, and undermine forensic accuracy.

Generated by OpenCVE AI on September 23, 2026 at 21:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Mesop v1.3.4 or later, which sanitizes csp_report output.
  • Restrict or disable access to the /__csp__ endpoint for unauthenticated users.
  • Configure log viewing tools or environments to suppress or strip ANSI escape sequences before display.

Generated by OpenCVE AI on September 23, 2026 at 21:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-g7f6-rxc4-qhph Mesop: Unauthenticated ANSI Escape Sequence Injection in CSP Reporting Endpoint
History

Wed, 23 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 23 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title Mesop: Unauthenticated ANSI Escape Sequence Injection in CSP Reporting Endpoint
Weaknesses CWE-117
CWE-150
References
Metrics cvssV4_0

{'score': 5.3, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-23T19:41:34.966Z

Reserved: 2026-09-17T20:57:18.984Z

Link: CVE-2026-93421

cve-icon Vulnrichment

Updated: 2026-09-23T19:25:43.446Z

cve-icon NVD

Status : Received

Published: 2026-09-23T19:19:45.140

Modified: 2026-09-23T20:17:22.503

Link: CVE-2026-93421

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T21:15:09Z

Weaknesses
  • CWE-117

    Improper Output Neutralization for Logs

  • CWE-150

    Improper Neutralization of Escape, Meta, or Control Sequences