mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Python: Apply suggestions from code review
Co-authored-by: yoff <lerchedahl@gmail.com>
This commit is contained in:
committed by
GitHub
parent
714465bf39
commit
f5854f33da
@@ -39,7 +39,7 @@ PyPI package, which has been created to prevent XML attacks (both XXE and XML bo
|
||||
<example>
|
||||
<p>
|
||||
The following example uses the <code>xml.etree</code> XML parser provided by the Python standard library to
|
||||
parse a string <code>xml_src</code>. That string is from an untrusted source, so this code is be
|
||||
parse a string <code>xml_src</code>. That string is from an untrusted source, so this code is
|
||||
vulnerable to a DoS attack, since the <code>xml.etree</code> XML parser expands internal entities by default:
|
||||
</p>
|
||||
<sample src="examples/XmlBombBad.py"/>
|
||||
|
||||
Reference in New Issue
Block a user