Skip to content
Fencer Vulns
high 7.5

CVE-2021-39371 json

XML External Entity Injection in PyWPS

published 2021-08-23 5 y ago modified 2026-06-17 4 mo ago also GHSA-p9wf-3xpg-c9g5 , PYSEC-2021-121 , EUVD-2021-0215

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.5%
EPSS 1.5% chance of exploitation in 30 days, percentile 74%
public exploits
0
none known

Summary

An XML external entity (XXE) injection in PyWPS before 4.4.5 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.

Patch / fix

  • pypi pywps 4.5.0
  • osgeo pywps 4.4.5
  • pywps Debian 14, Debian 13, Debian 12 4.5.0-1

debian advisories DEBIAN-CVE-2021-39371

Exploit prediction

1.52% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi pywps
<4.5.0
4.5.0

Classification

Weakness
  • CWE-611 Improper Restriction of XML External Entity Reference
  • CWE-91 XML Injection

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.