Search
Find a vulnerability
Search criteria
3 vulnerabilities by antchfx
FKIE_CVE-2026-32287
Vulnerability from fkie_nvd - Published: 2026-03-26 20:16 - Updated: 2026-06-17 10:35
Severity
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()".
References
| URL | Tags | ||
|---|---|---|---|
| security@golang.org | https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494 | Patch | |
| security@golang.org | https://github.com/antchfx/xpath/issues/121 | Issue Tracking, Third Party Advisory | |
| security@golang.org | https://github.com/golang/vulndb/issues/4526 | Issue Tracking, Third Party Advisory | |
| security@golang.org | https://pkg.go.dev/vuln/GO-2026-4526 | Third Party Advisory | |
| 134c704f-9b21-4f2e-91b3-4a467353bcc0 | https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select | Exploit, Third Party Advisory |
{
"affected": [
{
"affectedData": [
{
"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"
}
]
}
],
"source": "security@golang.org"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:antchfx:xpath:*:*:*:*:*:go:*:*",
"matchCriteriaId": "9456C4F2-D4AD-4F6D-9520-00E6C5C4AB18",
"versionEndExcluding": "1.3.6",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"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()\"."
},
{
"lang": "es",
"value": "Expresiones booleanas de XPath que se eval\u00faan como verdaderas pueden causar un bucle infinito en logicalQuery.Select, lo que lleva a un uso del 100% de la CPU. Esto puede ser activado por selectores de nivel superior como 1=1 o true()."
}
],
"id": "CVE-2026-32287",
"lastModified": "2026-06-17T10:35:29.830",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"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"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6,
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-32287",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-03-30T14:12:30.141178Z",
"version": "2.0.3"
}
}
]
},
"published": "2026-03-26T20:16:12.403",
"references": [
{
"source": "security@golang.org",
"tags": [
"Patch"
],
"url": "https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494"
},
{
"source": "security@golang.org",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://github.com/antchfx/xpath/issues/121"
},
{
"source": "security@golang.org",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://github.com/golang/vulndb/issues/4526"
},
{
"source": "security@golang.org",
"tags": [
"Third Party Advisory"
],
"url": "https://pkg.go.dev/vuln/GO-2026-4526"
},
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select"
}
],
"sourceIdentifier": "security@golang.org",
"vulnStatus": "Analyzed",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-835"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
CVE-2026-32287 (GCVE-0-2026-32287)
Vulnerability from nvd – Published: 2026-03-26 19:40 – Updated: 2026-03-30 14:55
VLAI
EPSS
VEX
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)
SSVC
Exploitation: poc
Automatable: yes
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-03-30 14:12 UTC
CWE
- CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')
Assigner
References
Impacted products
1 product
| 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
EPSS
VEX
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)
SSVC
Exploitation: poc
Automatable: yes
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-03-30 14:12 UTC
CWE
- CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')
Assigner
References
Impacted products
1 product
| 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"
}