mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue 17538: Document XML vulnerabilties
This commit is contained in:
parent
5be6d74a0d
commit
7380a67267
10 changed files with 187 additions and 0 deletions
|
@ -17,6 +17,14 @@ processing model together with callbacks, the user of a pull parser is
|
|||
responsible for explicitly pulling events from the stream, looping over those
|
||||
events until either processing is finished or an error condition occurs.
|
||||
|
||||
|
||||
.. warning::
|
||||
|
||||
The :mod:`xml.dom.pulldom` module is not secure against
|
||||
maliciously constructed data. If you need to parse untrusted or
|
||||
unauthenticated data see :ref:`xml-vulnerabilities`.
|
||||
|
||||
|
||||
Example::
|
||||
|
||||
from xml.dom import pulldom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue