Search criteria
ⓘ
Use full-text search for keyword queries.
Combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by dates instead of relevance.
2 vulnerabilities found for github.com/antchfx/xpath by github.com/antchfx/xpath
CVE-2026-32287 (GCVE-0-2026-32287)
Vulnerability from nvd – Published: 2026-03-26 19:40 – Updated: 2026-03-30 14:55
VLAI?
Title
Infinite loop in github.com/antchfx/xpath
Summary
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()".
Severity ?
7.5 (High)
CWE
- CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| github.com/antchfx/xpath | github.com/antchfx/xpath |
Affected:
0 , < 1.3.6
(semver)
|
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2026-32287",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-03-30T14:12:30.141178Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-03-30T14:55:05.920Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"packageName": "github.com/antchfx/xpath",
"product": "github.com/antchfx/xpath",
"programRoutines": [
{
"name": "logicalQuery.Select"
},
{
"name": "Expr.Evaluate"
},
{
"name": "NodeIterator.MoveNext"
},
{
"name": "ancestorQuery.Evaluate"
},
{
"name": "ancestorQuery.Select"
},
{
"name": "attributeQuery.Evaluate"
},
{
"name": "attributeQuery.Select"
},
{
"name": "booleanQuery.Evaluate"
},
{
"name": "booleanQuery.Select"
},
{
"name": "cachedChildQuery.Evaluate"
},
{
"name": "cachedChildQuery.Select"
},
{
"name": "childQuery.Evaluate"
},
{
"name": "childQuery.Select"
},
{
"name": "descendantOverDescendantQuery.Evaluate"
},
{
"name": "descendantOverDescendantQuery.Select"
},
{
"name": "descendantQuery.Evaluate"
},
{
"name": "descendantQuery.Select"
},
{
"name": "filterQuery.Evaluate"
},
{
"name": "filterQuery.Select"
},
{
"name": "followingQuery.Evaluate"
},
{
"name": "followingQuery.Select"
},
{
"name": "functionQuery.Evaluate"
},
{
"name": "groupQuery.Evaluate"
},
{
"name": "groupQuery.Select"
},
{
"name": "lastFuncQuery.Evaluate"
},
{
"name": "logicalQuery.Evaluate"
},
{
"name": "mergeQuery.Evaluate"
},
{
"name": "mergeQuery.Select"
},
{
"name": "numericQuery.Evaluate"
},
{
"name": "parentQuery.Evaluate"
},
{
"name": "parentQuery.Select"
},
{
"name": "precedingQuery.Evaluate"
},
{
"name": "precedingQuery.Select"
},
{
"name": "selfQuery.Evaluate"
},
{
"name": "selfQuery.Select"
},
{
"name": "transformFunctionQuery.Evaluate"
},
{
"name": "transformFunctionQuery.Select"
},
{
"name": "unionQuery.Evaluate"
},
{
"name": "unionQuery.Select"
}
],
"vendor": "github.com/antchfx/xpath",
"versions": [
{
"lessThan": "1.3.6",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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()\"."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "CWE-835: Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027)",
"lang": "en"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-03-26T19:40:52.142Z",
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"shortName": "Go"
},
"references": [
{
"url": "https://github.com/antchfx/xpath/issues/121"
},
{
"url": "https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494"
},
{
"url": "https://github.com/golang/vulndb/issues/4526"
},
{
"url": "https://pkg.go.dev/vuln/GO-2026-4526"
}
],
"title": "Infinite loop in github.com/antchfx/xpath"
}
},
"cveMetadata": {
"assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"assignerShortName": "Go",
"cveId": "CVE-2026-32287",
"datePublished": "2026-03-26T19:40:52.142Z",
"dateReserved": "2026-03-11T16:38:46.556Z",
"dateUpdated": "2026-03-30T14:55:05.920Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-32287 (GCVE-0-2026-32287)
Vulnerability from cvelistv5 – Published: 2026-03-26 19:40 – Updated: 2026-03-30 14:55
VLAI?
Title
Infinite loop in github.com/antchfx/xpath
Summary
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()".
Severity ?
7.5 (High)
CWE
- CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| github.com/antchfx/xpath | github.com/antchfx/xpath |
Affected:
0 , < 1.3.6
(semver)
|
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2026-32287",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-03-30T14:12:30.141178Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-03-30T14:55:05.920Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"packageName": "github.com/antchfx/xpath",
"product": "github.com/antchfx/xpath",
"programRoutines": [
{
"name": "logicalQuery.Select"
},
{
"name": "Expr.Evaluate"
},
{
"name": "NodeIterator.MoveNext"
},
{
"name": "ancestorQuery.Evaluate"
},
{
"name": "ancestorQuery.Select"
},
{
"name": "attributeQuery.Evaluate"
},
{
"name": "attributeQuery.Select"
},
{
"name": "booleanQuery.Evaluate"
},
{
"name": "booleanQuery.Select"
},
{
"name": "cachedChildQuery.Evaluate"
},
{
"name": "cachedChildQuery.Select"
},
{
"name": "childQuery.Evaluate"
},
{
"name": "childQuery.Select"
},
{
"name": "descendantOverDescendantQuery.Evaluate"
},
{
"name": "descendantOverDescendantQuery.Select"
},
{
"name": "descendantQuery.Evaluate"
},
{
"name": "descendantQuery.Select"
},
{
"name": "filterQuery.Evaluate"
},
{
"name": "filterQuery.Select"
},
{
"name": "followingQuery.Evaluate"
},
{
"name": "followingQuery.Select"
},
{
"name": "functionQuery.Evaluate"
},
{
"name": "groupQuery.Evaluate"
},
{
"name": "groupQuery.Select"
},
{
"name": "lastFuncQuery.Evaluate"
},
{
"name": "logicalQuery.Evaluate"
},
{
"name": "mergeQuery.Evaluate"
},
{
"name": "mergeQuery.Select"
},
{
"name": "numericQuery.Evaluate"
},
{
"name": "parentQuery.Evaluate"
},
{
"name": "parentQuery.Select"
},
{
"name": "precedingQuery.Evaluate"
},
{
"name": "precedingQuery.Select"
},
{
"name": "selfQuery.Evaluate"
},
{
"name": "selfQuery.Select"
},
{
"name": "transformFunctionQuery.Evaluate"
},
{
"name": "transformFunctionQuery.Select"
},
{
"name": "unionQuery.Evaluate"
},
{
"name": "unionQuery.Select"
}
],
"vendor": "github.com/antchfx/xpath",
"versions": [
{
"lessThan": "1.3.6",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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()\"."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "CWE-835: Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027)",
"lang": "en"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-03-26T19:40:52.142Z",
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"shortName": "Go"
},
"references": [
{
"url": "https://github.com/antchfx/xpath/issues/121"
},
{
"url": "https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494"
},
{
"url": "https://github.com/golang/vulndb/issues/4526"
},
{
"url": "https://pkg.go.dev/vuln/GO-2026-4526"
}
],
"title": "Infinite loop in github.com/antchfx/xpath"
}
},
"cveMetadata": {
"assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"assignerShortName": "Go",
"cveId": "CVE-2026-32287",
"datePublished": "2026-03-26T19:40:52.142Z",
"dateReserved": "2026-03-11T16:38:46.556Z",
"dateUpdated": "2026-03-30T14:55:05.920Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}