The XXE Attack(XML External Entity) is an attack where it against an application that will parses…