Vulnerability
CVE-2026-32287
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()".
283 advisories report this vulnerability, across 9 ecosystems.
Advisories in Go
-
GHSA-65xw-vw82-r86x
XPath: Boolean expression infinite loop leads to denial of service via CPU exhaustion
-
GO-2026-4526
Infinite loop in github.com/antchfx/xpath