Improper Input Validation Affecting golang-github-antchfx-xmlquery package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.43% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2004-GOLANGGITHUBANTCHFXXMLQUERY-1137101
  • published25 Jun 2025
  • disclosed16 Sept 2020

Introduced: 16 Sep 2020

CVE-2020-25614  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 golang-github-antchfx-xmlquery.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-github-antchfx-xmlquery package and not the golang-github-antchfx-xmlquery package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1