{"id":"CVE-2026-93421","published":"2026-09-23T18:59:52Z","modified":"2026-09-23T19:41:34Z","title":"Mesop: Unauthenticated ANSI Escape Sequence Injection in CSP Reporting Endpoint","vendor":"mesop-dev","product":"mesop","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00528,"percentile":0.45605,"provenance":"source"},"cwes":[{"id":"CWE-117","name":"Improper Output Neutralization for Logs"},{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"references":[{"url":"https://github.com/mesop-dev/mesop/security/advisories/GHSA-g7f6-rxc4-qhph","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mesop-dev/mesop/pull/1397","tags":["x_refsource_MISC"]},{"url":"https://github.com/mesop-dev/mesop/commit/f38c42a1d3eba246941ef8d7f645072d53c58785","tags":["x_refsource_MISC"]},{"url":"https://github.com/mesop-dev/mesop/releases/tag/v1.3.4","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":9.12},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"mesop-dev","affectedVersions":[{"vendor":"mesop-dev","product":"mesop","versions":["< 1.3.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-23T19:25:37.624256Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mesop","vulnerableRanges":["<1.3.4"],"patched":["1.3.4"],"from":["GHSA-g7f6-rxc4-qhph","PYSEC-2026-4105"],"provenance":"source"}],"summary":{"text":"Mesop, a Python-based UI framework for building web applications, has a flaw in its unauthenticated /__csp__ CSP reporting endpoint, where attacker-supplied document-uri, blocked-uri, and violated-directive values are printed to standard output without neutralizing terminal control sequences. An attacker able to send requests to the endpoint can inject ANSI or VT100 sequences that, when an operator views the logs in an ANSI-capable terminal, can clear or reposition the display, hide text, or present forged messages, which requires user interaction by the operator viewing the output.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:52Z"},"euvd":{"id":"EUVD-2026-85568","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-33054","published":"2026-03-20","fixed":"1.2.3","kev":false},{"cve":"CVE-2026-33057","published":"2026-03-20","fixed":"1.2.3","kev":false},{"cve":"CVE-2026-34824","published":"2026-04-03","fixed":"1.2.5","kev":false,"link":{"from":"CVE-2026-34824","to":"CVE-2026-93421","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mesop","fromFixed":"1.2.5","toFixed":"1.3.4","daysApart":173}]}},{"cve":"CVE-2026-93421","published":"2026-09-23","fixed":"1.3.4","kev":false}],"package":"PyPI:mesop"}}