Skip to content

Update ca5366.md #25706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/fundamentals/code-analysis/quality-rules/ca5366.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ f1_keywords:

## Cause

A Document Type Definition (DTD) defines the structure and the legal elements and attributes of an XML document. Referring to a DTD from an external resource could cause potential Denial of Service (DoS) attacks. Most readers cannot disable DTD processing and restrict external references loading except for <xref:System.Xml.XmlReader?displayProperty=nameWithType>. Using these other readers to load XML by one of the following methods triggers this rul:
A Document Type Definition (DTD) defines the structure and the legal elements and attributes of an XML document. Referring to a DTD from an external resource could cause potential Denial of Service (DoS) attacks. Most readers cannot disable DTD processing and restrict external references loading except for <xref:System.Xml.XmlReader?displayProperty=nameWithType>. Using these other readers to load XML by one of the following methods triggers this rule:

- <xref:System.Data.DataSet.ReadXml%2A>
- <xref:System.Data.DataSet.ReadXmlSchema%2A>
Expand Down