XML External Entity Injection in PyWPS
An XML external entity (XXE) injection in PyWPS before 4.5.0 allows an attacker to view files on the application server filesystem by assigning a path to the entity. OWSLib 0.24.1 may also be affected.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pywps | < 4.5.0 | 4.5.0 |
References
- https://github.com/geopython/pywps/pull/616
- https://github.com/geopython/OWSLib/issues/790
- https://github.com/advisories/GHSA-p9wf-3xpg-c9g5
- https://nvd.nist.gov/vuln/detail/CVE-2021-39371
- https://github.com/geopython/pywps/commit/7d6b26a2e931df2feca0b7fb24f4d01610825aee
- https://github.com/geopython/pywps
- https://github.com/pypa/advisory-database/tree/main/vulns/pywps/PYSEC-2021-121.yaml
- https://lists.debian.org/debian-lts-announce/2021/09/msg00001.html
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-611, CWE-91- Platform
- Python (PyPI)
- Package
pywps- Disclosed
- 23.08.2021
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2021-121 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-p9wf-3xpg-c9g5 - CC BY 4.0
Vulnerability history: pywps
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.