{"id":"GO-2020-0048","summary":"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.","aliases":["CVE-2020-25614","GHSA-93m7-c69f-5cfj"],"modified":"2024-05-20T16:03:47Z","published":"2021-04-14T20:04:52Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2020-0048"},"references":[{"type":"FIX","url":"https://github.com/antchfx/xmlquery/commit/5648b2f39e8d5d3fc903c45a4f1274829df71821"},{"type":"WEB","url":"https://github.com/antchfx/xmlquery/issues/39"}],"affected":[{"package":{"name":"github.com/antchfx/xmlquery","ecosystem":"Go","purl":"pkg:golang/github.com/antchfx/xmlquery"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.1"}]}],"ecosystem_specific":{"imports":[{"symbols":["LoadURL"],"path":"github.com/antchfx/xmlquery"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2020-0048.json"}}],"schema_version":"1.7.3","credits":[{"name":"@dwisiswant0"}]}