Peppol-py is vulnerable to XXE attacks due to Saxon configuration
Date: 2025-11
Affected: pip/peppol_py
Attack vector: other
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2025-66371
CWE: CWE-611
CVSS: 5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N)

Peppol-py before 1.1.1 allows XXE attacks because of the Saxon configuration. When validating XML-based invoices, the XML parser could read files from the filesystem and expose their content to a remote host.


Mitigations:

Architectural layers (MAESTRO):