Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/antchfx/xmlquery
  4. ›
  5. CVE-2020-25614

CVE-2020-25614: xmlquery lacks check for whether LoadURL response is in XML format, causing denial of service

October 7, 2022 (updated January 22, 2025)

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.

References

  • github.com/advisories/GHSA-93m7-c69f-5cfj
  • github.com/antchfx/xmlquery
  • github.com/antchfx/xmlquery/commit/5648b2f39e8d5d3fc903c45a4f1274829df71821
  • github.com/antchfx/xmlquery/compare/v1.3.0...v1.3.1
  • github.com/antchfx/xmlquery/issues/39
  • nvd.nist.gov/vuln/detail/CVE-2020-25614
  • pkg.go.dev/vuln/GO-2020-0048

Code Behaviors & Features

Detect and mitigate CVE-2020-25614 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.3.1

Fixed versions

  • 1.3.1

Solution

Upgrade to version 1.3.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-20: Improper Input Validation

Source file

go/github.com/antchfx/xmlquery/CVE-2020-25614.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:01 +0000.