ADVISORIES

Go Vulnerability Database

GO-2020-0048

Denial of service in github.com/antchfx/xmlquery

Details

LoadURL does not check the Content-Type of loaded resources, which can cause a panic due to nil pointer deference if the loaded resource is not XML. If user supplied URLs are loaded, this may be used as a denial of service vector.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/antchfx/xmlquery
All versions before 1.3.1 (fixed in 1.3.1)

References