Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/langchain-text-splitters@0.3.9
Typepypi
Namespace
Namelangchain-text-splitters
Version0.3.9
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version1.1.2
Latest_non_vulnerable_version1.1.2
Affected_by_vulnerabilities
0
url VCID-3k4a-kytp-kbhx
vulnerability_id VCID-3k4a-kytp-kbhx
summary
LangChain is a framework for building agents and LLM-powered applications. Prior to langchain-text-splitters
 1.1.2, HTMLHeaderTextSplitter.split_text_from_url() validated the initial URL using validate_safe_url() but then performed the fetch with requests.get() with redirects enabled (the default). Because redirect targets were not revalidated, a URL pointing to an attacker-controlled server could redirect to internal, localhost, or cloud metadata endpoints, bypassing SSRF protections. The response body is parsed and returned as Document objects to the calling application code. Whether this constitutes a data exfiltration path depends on the application: if it exposes Document contents (or derivatives) back to the requester who supplied the URL, sensitive data from internal endpoints could be leaked. Applications that store or process Documents internally without returning raw content to the requester are not directly exposed to data exfiltration through this issue. This vulnerability is fixed in 1.1.2.
references
0
reference_url https://github.com/langchain-ai/langchain/security/advisories/GHSA-fv5p-p927-qmxr
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
url https://github.com/langchain-ai/langchain/security/advisories/GHSA-fv5p-p927-qmxr
fixed_packages
0
url pkg:pypi/langchain-text-splitters@1.1.2
purl pkg:pypi/langchain-text-splitters@1.1.2
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/langchain-text-splitters@1.1.2
aliases CVE-2026-41481, GHSA-fv5p-p927-qmxr, PYSEC-2026-77
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-3k4a-kytp-kbhx
Fixing_vulnerabilities
0
url VCID-ypxj-nhcp-dkan
vulnerability_id VCID-ypxj-nhcp-dkan
summary
LangChain Text Splitters is vulnerable to XML External Entity (XXE) attacks due to unsafe XSLT parsing
The HTMLSectionSplitter class in langchain-text-splitters is vulnerable to XML External Entity (XXE) attacks due to unsafe XSLT parsing. This vulnerability arises because the class allows the use of arbitrary XSLT stylesheets, which are parsed using lxml.etree.parse() and lxml.etree.XSLT() without any hardening measures. In lxml versions up to 4.9.x, external entities are resolved by default, allowing attackers to read arbitrary local files or perform outbound HTTP(S) fetches. In lxml versions 5.0 and above, while entity expansion is disabled, the XSLT document() function can still read any URI unless XSLTAccessControl is applied. This vulnerability allows remote attackers to gain read-only access to any file the LangChain process can reach, including sensitive files such as SSH keys, environment files, source code, or cloud metadata. No authentication, special privileges, or user interaction are required, and the issue is exploitable in default deployments that enable custom XSLT.
references
0
reference_url https://github.com/langchain-ai/langchain
reference_id
reference_type
scores
url https://github.com/langchain-ai/langchain
1
reference_url https://github.com/langchain-ai/langchain/commit/43eef435505a1c907227b724c0c760ad5fc01790
reference_id
reference_type
scores
url https://github.com/langchain-ai/langchain/commit/43eef435505a1c907227b724c0c760ad5fc01790
2
reference_url https://github.com/langchain-ai/langchain/pull/31819
reference_id
reference_type
scores
url https://github.com/langchain-ai/langchain/pull/31819
3
reference_url https://huntr.com/bounties/cf78abbb-df3b-43de-b6ee-132b73ff8331
reference_id
reference_type
scores
url https://huntr.com/bounties/cf78abbb-df3b-43de-b6ee-132b73ff8331
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2025-6985
reference_id CVE-2025-6985
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2025-6985
5
reference_url https://github.com/advisories/GHSA-m42m-m8cr-8m58
reference_id GHSA-m42m-m8cr-8m58
reference_type
scores
url https://github.com/advisories/GHSA-m42m-m8cr-8m58
fixed_packages
0
url pkg:pypi/langchain-text-splitters@0.3.9
purl pkg:pypi/langchain-text-splitters@0.3.9
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-3k4a-kytp-kbhx
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/langchain-text-splitters@0.3.9
aliases CVE-2025-6985, GHSA-m42m-m8cr-8m58
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-ypxj-nhcp-dkan
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/langchain-text-splitters@0.3.9