-
CVSS Score
-| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| modoboa-dmarc | pip | < 1.2.0 | 1.2.0 |
The vulnerability stems from the XML parsing implementation in import_report. The original code used lxml.objectify.fromstring(), which by default processes external entities. The patch replaced it with defusedxml.ElementTree.fromstring() with forbid_dtd=True, explicitly addressing XXE. The function's role in processing attacker-controlled XML reports (via email attachments) makes it the entry point for exploitation. The code diff and CWE-91/XXE context confirm this is the vulnerable function.