Vulnerability in Antchfx Xpath
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()".
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.006, 46.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Antchfx Xpath
- Github.com/antchfx/xpath — versions 0
Weakness classification (CWE)
References
- github.com/antchfx/xpath/issues/121 (Third Party Advisory, Issue Tracking)
- github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494 (Patch)
- github.com/golang/vulndb/issues/4526 (Third Party Advisory, Issue Tracking)
- pkg.go.dev/vuln/GO-2026-4526 (Third Party Advisory)
- securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-s… (Exploit, Third Party Advisory)