mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
doc: Add another warning to XML_PARSE_DTDVALID
While most parts of libxml2, including the parser, are still vulnerable to such attacks, it is unlikely that DTD validation will ever be fixed.
This commit is contained in:
@@ -1727,6 +1727,9 @@ typedef enum {
|
||||
* This option enables DTD validation which requires to load
|
||||
* external DTDs and external entities (both general and
|
||||
* parameter entities) unless XML_PARSE_NO_XXE was set.
|
||||
*
|
||||
* DTD validation is vulnerable to algorithmic complexity
|
||||
* attacks and should never be enabled with untrusted input.
|
||||
*/
|
||||
XML_PARSE_DTDVALID = 1<<4,
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user