CVE-2025-6985: XML External Entity vulnerability in langchain-text-splitters
langchain-text-splitters
The HTMLSectionSplitter class in langchain-text-splitters version 0.3.8 is vulnerable to XML external entity attacks through unsafe XSLT parsing. This vulnerability allows attackers to read local files or trigger outbound HTTP fetches depending on the lxml version used.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
- CVSS
- 7.5
- EPSS
- 0.01 · top 56% · 2026-11-13
- fix status
- Fix status unknown
- first report
- 6 Oct 2025
- last update
- 6 Oct 2025
- CVE ids
Timeline · 1
Sources · 1
Advisories and databases
- 2025-10-06CVE-2025-6985: The HTMLSectionSplitter class in langchain-text-splitters version 0.3.8 is vulnerable to XML External Entity (XXE) attacks due to…NVD · nvd.nist.gov/vuln/detail/CVE-2025-6985
Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.
Classification
- lane
- Patch now
- AI role
- Attack on AI
- categories
- Infrastructure vulnerability
- severity
- 2 · Disclosed vulnerability
- fix status
- Fix status unknown
- targets
- Framework / tooling
- owasp llm top 10
- LLM03:2025 Supply Chain
- mitre atlas
- no technique for these categories
- tags
- xxe
- dates
- happened 6 Oct 2025 · first reported 6 Oct 2025
- origin
- NVDVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- record
- confidence 0.95 · created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z
Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned
Copy a brief
This record as a short Markdown brief, for a ticket, a chat or a coding agent.
the brief as text
# CVE-2025-6985: XML External Entity vulnerability in langchain-text-splitters https://gcdradar.vercel.app/incidents/cve-2025-6985-xml-external-entity-vulnerability-in-langchain · AIR-2025-0491 · closed 2025-10-06 - Lane: Patch now - Severity: 2 (Disclosed vulnerability) - Fix status: Fix status unknown - First reported: 2025-10-06 - AI role: Attack on AI - Products: langchain-text-splitters - CVE ids: CVE-2025-6985 - CVSS: 7.5 ## Summary The HTMLSectionSplitter class in langchain-text-splitters version 0.3.8 is vulnerable to XML external entity attacks through unsafe XSLT parsing. This vulnerability allows attackers to read local files or trigger outbound HTTP fetches depending on the lxml version used. ## What to do No action recorded; read the sources below and the vendor's advisory. ## Latest updates - 2025-10-06: CVE-2025-6985: The HTMLSectionSplitter class in langchain-text-splitters version 0.3.8 is vulnerable to XML External Entity (XXE) attacks due to… (https://nvd.nist.gov/vuln/detail/CVE-2025-6985) ## Sources - 2025-10-06 NVD: CVE-2025-6985: The HTMLSectionSplitter class in langchain-text-splitters version 0.3.8 is vulnerable to XML External Entity (XXE) attacks due to… https://nvd.nist.gov/vuln/detail/CVE-2025-6985 Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.
Related
- closed6.5LangChain family LangChain URL validation SSRF vulnerability in HTMLHeaderTextSplitter
Patch now · Disclosed · since 24 Apr 2026 · CVE-2026-41481
AI - closed7.1Agno CVE-2025-64168: Agno session state overwrite vulnerability
Patch now · Disclosed · since 31 Oct 2025 · CVE-2025-64168
AI - closed3.5LiteLLM CVE-2025-11203: LiteLLM information disclosure vulnerability in health endpoint
Patch now · Disclosed · since 29 Oct 2025 · CVE-2025-11203
AI - closedFastMCP FastMCP auth integration confused deputy issue
Patch now · Disclosed · since 29 Oct 2025
AI - closed5.4FastMCP CVE-2025-62801: FastMCP command injection in Cursor installer
Patch now · Disclosed · since 29 Oct 2025 · CVE-2025-62801
AI - closed5.3FastMCP CVE-2025-62800: FastMCP reflected XSS in oauth callback page
Patch now · Disclosed · since 29 Oct 2025 · CVE-2025-62800
AI