diff options
| author | Christian Heimes <christian@cheimes.de> | 2013-03-26 17:47:23 +0100 |
|---|---|---|
| committer | Christian Heimes <christian@cheimes.de> | 2013-03-26 17:47:23 +0100 |
| commit | 768f6a53601a6c4e0b914aaedb977dd2ca97532a (patch) | |
| tree | 0a15e62fa957038dd0e6ad2cd704d3378ac336a5 /Doc/library/xml.dom.minidom.rst | |
| parent | c40f97f8beaacfb834d3f4f22d581e37dd82c14d (diff) | |
| parent | 7380a67267d9ec59b70617ea59ff31819f530942 (diff) | |
| download | cpython-git-768f6a53601a6c4e0b914aaedb977dd2ca97532a.tar.gz | |
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 a75325ffc8..e90c1779a2 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:: |
