CVE-2025-6985: XML External Entity vulnerability in langchain-text-splitters
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
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
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- langchain-text-splitters
- incident date
- 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.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2025-6985 · xxe
- record
- created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z · json
Sources · 1
- 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 GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2026-04-24LangChain URL validation SSRF vulnerability in HTMLHeaderTextSplitter2 Disclosedon AIInfra vuln1 src
- 2025-10-31CVE-2025-64168: Agno session state overwrite vulnerability2 Disclosedon AIInfra vuln1 src
- 2025-10-29CVE-2025-11203: LiteLLM information disclosure vulnerability in health endpoint2 Disclosedon AIInfra vuln1 src
- 2025-10-29FastMCP auth integration confused deputy issue2 Disclosedon AIInfra vuln1 src
- 2025-10-29CVE-2025-62801: FastMCP command injection in Cursor installer2 Disclosedon AIInfra vuln1 src
- 2025-10-29CVE-2025-62800: FastMCP reflected XSS in oauth callback page2 Disclosedon AIInfra vuln1 src