diff options
author | Christian Heimes <christian@cheimes.de> | 2013-03-26 16:35:55 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-03-26 16:35:55 (GMT) |
commit | 7380a67267d9ec59b70617ea59ff31819f530942 (patch) | |
tree | 0648f9c8a5594f0c90ef45c9aefa43440ca7128a /Doc/library/xml.dom.minidom.rst | |
parent | 5be6d74a0d0ae111cd823d2b7a5896c77d8c8895 (diff) | |
download | cpython-7380a67267d9ec59b70617ea59ff31819f530942.zip cpython-7380a67267d9ec59b70617ea59ff31819f530942.tar.gz cpython-7380a67267d9ec59b70617ea59ff31819f530942.tar.bz2 |
Issue 17538: Document XML vulnerabilties
Diffstat (limited to 'Doc/library/xml.dom.minidom.rst')
-rw-r--r-- | Doc/library/xml.dom.minidom.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst index b512d7e..30182e4 100644 --- a/Doc/library/xml.dom.minidom.rst +++ b/Doc/library/xml.dom.minidom.rst @@ -17,6 +17,14 @@ to be simpler than the full DOM and also significantly smaller. Users who are not already proficient with the DOM should consider using the :mod:`xml.etree.ElementTree` module for their XML processing instead + +.. warning:: + + The :mod:`xml.dom.minidom` module is not secure against + maliciously constructed data. If you need to parse untrusted or + unauthenticated data see :ref:`xml-vulnerabilities`. + + DOM applications typically start by parsing some XML into a DOM. With :mod:`xml.dom.minidom`, this is done through the parse functions:: |