CVE-2023-0949: modoboa Cross-site Scripting vulnerability
4.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.30569%
CWE
Published
2/22/2023
Updated
9/25/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| modoboa | pip | < 2.0.5 | 2.0.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability was patched by adding htmlEncode() to sanitize the 'text' parameter in the make_tag function. The commit diff shows the vulnerable code used "html": " " + text without encoding, while the fix uses "html": " " + htmlEncode(text). This function handles tag creation in the UI, making it the clear XSS vector when rendering user-controlled input without proper sanitization.