Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The langchain-text-splitters package, versions before 0.3.9, is vulnerable to XML External Entity attacks in the HTMLSectionSplitter class because it parses attacker-supplied XSLT stylesheets without hardening. A remote attacker needs no authentication or user interaction in deployments that enable custom XSLT, and could read arbitrary local files or make outbound requests from the LangChain process. Upgrade to langchain-text-splitters 0.3.9 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.5 | High | 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CNA (@huntr_ai) |
- CISA KEV Not listed.
- EPSS 0.0051, the 43rd percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-m42m-m8cr-8m58
- OSV: GHSA-m42m-m8cr-8m58
- nvd.nist.gov/vuln/detail/CVE-2025-6985
- github.com/langchain-ai/langchain/pull/31819
- github.com/langchain-ai/langchain/commit/43eef435505a1c907227b724c0c760ad5fc01790
- github.com/langchain-ai/langchain
- huntr.com/bounties/cf78abbb-df3b-43de-b6ee-132b73ff8331