Skip to Content
ASP.NET Core 5 Secure Coding Cookbook
book

ASP.NET Core 5 Secure Coding Cookbook

by Roman Canlas
July 2021
Intermediate to advanced
324 pages
5h 35m
English
Packt Publishing
Content preview from ASP.NET Core 5 Secure Coding Cookbook

Chapter 5: XML External Entities

eXtensible Markup Language (XML) is a standard markup language that's used to define data. XML is also a format that an ASP.NET Core web application can use to parse information. To achieve this, a developer can use any number of .NET XML parsers readily available in the framework.

XML being a source of input is likely to be prone to malicious data injection. A feature called XML External Entity (XXE) allows XML to define a custom entity using a URL or file path. This ability to represent external entities in XML can be abused or exploited. Unrestricted external entity references can allow attackers to send sensitive information and files outside the applications' trusted domains and into the perpetrator-controlled ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On RESTful Web Services with ASP.NET Core 3

Hands-On RESTful Web Services with ASP.NET Core 3

Samuele Resca
ASP.NET Core and Vue.js

ASP.NET Core and Vue.js

Devlin Basilan Duldulao
ASP.NET Core Security

ASP.NET Core Security

Christian Wenz

Publisher Resources

ISBN: 9781801071567Supplemental Content