Skip to content

fix: upgrade github.com/antchfx/xpath to 1.3.6 (CVE-2026-32287) - #3537

Open
anupamme wants to merge 1 commit into
slurpcode:mainfrom
anupamme:fix-repo-slurp-cve-2026-32287-github-com-antchfx-xpath
Open

fix: upgrade github.com/antchfx/xpath to 1.3.6 (CVE-2026-32287)#3537
anupamme wants to merge 1 commit into
slurpcode:mainfrom
anupamme:fix-repo-slurp-cve-2026-32287-github-com-antchfx-xpath

Conversation

@anupamme

Copy link
Copy Markdown

Summary

Upgrade github.com/antchfx/xpath from v1.3.3 to 1.3.6 to fix CVE-2026-32287.

Vulnerability

Field Value
ID CVE-2026-32287
Severity HIGH
Scanner trivy
Rule CVE-2026-32287
File go.mod (dependency: github.com/antchfx/xpath)
Assessment Present in dependency tree, not confirmed reachable

Description: github.com/antchfx/xpath: github.com/antchfx/xpath: Denial of Service due to infinite loop via boolean XPath expressions

Evidence

Scanner confirmation: trivy rule CVE-2026-32287 flagged this pattern.

Changes

  • go.mod
  • go.sum

Behavior Preservation

The change is scoped to 2 files on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.


This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

Automated dependency upgrade by OrbisAI Security
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant