GO-2026-4526
Dashboard / Vulnerabilities / GO-2026-4526
Summary: Infinite loop in github.com/antchfx/xpath
Details: Boolean XPath expressions that evaluate to true can cause an infinite loop in logicalQuery.Select, leading to 100% CPU usage. This can be triggered by top-level selectors such as "1=1" or "true()".
References: https://github.com/antchfx/xpath/issues/121, https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494, https://github.com/golang/vulndb/issues/4526
Affected packages
Package
Name: github.com/antchfx/xpath
Purl: pkg:golang/github.com/antchfx/xpath
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.3.6
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
