diff options
author | bt-nia <74181389+bt-nia@users.noreply.github.com> | 2021-08-04 20:08:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 20:08:59 +0200 |
commit | da02facf470165a048e5aad86a4a65c01717fcb1 (patch) | |
tree | 29a4958cd272853d2609ada46d747eebb056ba0b | |
parent | 0a95365ebb5ff00e48f0be346ec9c1bee15855d1 (diff) | |
download | networkx-da02facf470165a048e5aad86a4a65c01717fcb1.tar.gz |
Added security warning to gefx parser (#5003)
* Added security warning to gefx parser
* apply proposed changes from other pull request.
-rw-r--r-- | networkx/readwrite/gexf.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/networkx/readwrite/gexf.py b/networkx/readwrite/gexf.py index 5bd77b05..6b0dfd62 100644 --- a/networkx/readwrite/gexf.py +++ b/networkx/readwrite/gexf.py @@ -1,5 +1,10 @@ """Read and write graphs in GEXF format. +.. warning:: + This parser uses the standard xml library present in Python, which is + insecure - see :doc:`library/xml` for additional information. + Only parse GEFX files you trust. + GEXF (Graph Exchange XML Format) is a language for describing complex network structures, their associated data and dynamics. |