GO-2026-4526

    Dashboard / Vulnerabilities / GO-2026-4526

    GO-2026-4526

    Published: 17 Mar 2026Last Modified: 30 Mar 2026

    Summary: Infinite loop in github.com/antchfx/xpath

    Details: 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

    Package

    Name: github.com/antchfx/xpath

    Purl: pkg:golang/github.com/antchfx/xpath

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.3.6

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GO-2026-4526 | CVE-DB