high7.5
CVE-2026-32287
Boolean XPath expressions that evaluate to true can cause an infinite loop in logicalQuery.Select, leading to 100% CPU usage.
Impact
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()".
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/antchfx/xpath | < 1.3.6 | 1.3.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Antchfx | Xpath | before 1.3.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-65xw-vw82-r86x
- https://nvd.nist.gov/vuln/detail/CVE-2026-32287
- https://github.com/antchfx/xpath/issues/121
- https://github.com/golang/vulndb/issues/4526
- https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494
- https://pkg.go.dev/vuln/GO-2026-4526
- https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select