CVE-2023-5689: modoboa Cross-site Scripting vulnerability
7.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.35251%
CWE
Published
10/20/2023
Updated
10/1/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| modoboa | pip | < 2.2.2 | 2.2.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The key vulnerability stems from the use of the '|safe' filter in Django template error rendering, which disabled automatic HTML escaping. This allowed XSS if error messages contained user-controlled input. The patch removed the '|safe' filter (changing to {{ error }}), enabling proper auto-escaping. The JavaScript modification in twocols_nav.js appears to be a secondary fix for form targeting but doesn't directly enable XSS.