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()".
https://pkg.go.dev/vuln/GO-2026-4526
https://github.com/golang/vulndb/issues/4526
https://github.com/antchfx/xpath/issues/121
https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494
Source: Mitre, NVD
Published: 2026-03-26
Updated: 2026-04-21
Base Score: 7.8
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C
Severity: High
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.00018