Vulnerabilities in pkg:pypi/peppol_py
PACKAGECVE-2025-66371 is a MODERATE (CVSS 5.0) peppol-py is vulnerable to xxe vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Peppol py libraries in the PyPI ecosystem. The issue involves peppol-py is vulnerable to xxe attacks due to saxon configuration. Remediation is available by upgrading affected packages to version 1.1.1.
pkg:pypi/peppol_py
Vulnerability advisories affecting package pkg:pypi/peppol_py. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-24hm-wm2h-h8w7 | CVE-2025-66371 | MODERATE | Peppol-py is vulnerable to XXE attacks due to Saxon configuration |
CVE-2025-66371 at a Glance
Security Impact
CVSS: 5.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N).
How to Fix CVE-2025-66371
To remediate this vulnerability, upgrade all affected Peppol py dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install peppol_py>=1.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show peppol_py
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-66371, inspect your installed packages using pip:
pip show peppol_py
Analyze the terminal output to locate any version of Peppol py in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.1), your application is affected.
Note: The pip show peppol_py command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Peppol py, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-66371 Affected Peppol py Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
peppol_py
|
PyPI |
< 1.1.1
|
1.1.1
|
References
Frequently Asked Questions
What is CVE-2025-66371?
Which Peppol py versions are affected?
What version fixes CVE-2025-66371?
Is peppol_py affected?
What is the CVSS score of CVE-2025-66371?
What CWE is associated with CVE-2025-66371?
How can I check PyPI dependencies for CVE-2025-66371?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-24hm-wm2h-h8w7",
"modified" : "2026-01-29T03:30:58Z",
"published" : "2025-11-28T06:32:06Z",
"aliases" : [ "CVE-2025-66371" ],
"summary" : "Peppol-py is vulnerable to XXE attacks due to Saxon configuration",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "peppol_py"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66371"
}, {
"type" : "WEB",
"url" : "https://github.com/iterasdev/peppol-py/pull/16"
}, {
"type" : "WEB",
"url" : "https://github.com/iterasdev/peppol-py/commit/349a4bff8adb6205ea411bac8d7a06da0477abd7"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/iterasdev/peppol-py"
}, {
"type" : "WEB",
"url" : "https://github.com/iterasdev/peppol-py/releases/tag/1.1.1"
}, {
"type" : "WEB",
"url" : "https://invoice.secvuln.info"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-01T23:57:53Z",
"nvd_published_at" : "2025-11-28T04:16:01Z"
}
}