GHSA-65xw-vw82-r86xHighCVSS 7.5

XPath: Boolean expression infinite loop leads to denial of service via CPU exhaustion

Published
March 29, 2026
Last Modified
March 30, 2026

🔗 CVE IDs covered (1)

📋 Description

Boolean 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 products1

  • go/github.com/antchfx/xpath:< 1.3.6

🔗 References (7)