xmlquery lacks check for whether LoadURL response is in XML format, causing denial of service
Date: 2022-10
Affected: go/github.com/antchfx/xmlquery
Attack vector: dos
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2020-25614
CWE: CWE-119
CWE-20
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

xmlquery before 1.3.1 lacks a check for whether a LoadURL response is in the XML format, which allows attackers to cause a denial of service (SIGSEGV) at xmlquery.(*Node).InnerText or possibly have unspecified other impact.


Mitigations:

Architectural layers (MAESTRO):