Skip to content

CX Improper_Restriction_of_XXE_Ref @ Controllers/ImportsController.cs [Merge_Branch]

Improper_Restriction_of_XXE_Ref issue exists @ Controllers/ImportsController.cs in branch Merge_Branch

The Post loads and parses XML using Load, at line 29 of Controllers\ImportsController.cs.

Severity: Medium

CWE:611

Checkmarx

Training Recommended Fix

Lines: 29


Code (Line #29):

         xmlDocument.Load(HttpContext.Request.Body);

Edited by Gabriel Prevelate